Plugin Directory

Changeset 3726820


Ignore:
Timestamp:
10/03/2026 11:32:47 PM (3 weeks ago)
Author:
dotance
Message:

1.1.1: phone layout fixes for comment mode (Tap hint above the toolbar, no stray divider, device preview hidden on phones)

Location:
dotance-website-feedback
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • dotance-website-feedback/tags/1.1.1/assets/css/overlay.css

    r3726690 r3726820  
    12341234
    12351235        .dotfb-tb-who,
    1236         .dotfb-tb-sep:last-of-type,
     1236        .dotfb-tb-sep--end,
     1237        .dotfb-tb--icon,
    12371238        .dotfb-kbd {
    12381239                display: none;
    12391240        }
    12401241
     1242        /* One slim row, as wide as the toolbar and right above it, so it never covers the page header the visitor may want to comment on. */
    12411243        .dotfb-hint {
    1242                 top: 12px;
    1243                 font-size: 13px;
     1244                top: auto;
     1245                bottom: 82px;
     1246                right: 12px;
     1247                left: 12px;
     1248                justify-content: space-between;
     1249                gap: 10px;
     1250                max-width: none;
     1251                padding: 6px 6px 6px 18px;
     1252                border-radius: 18px;
     1253                font-size: 14px;
     1254                line-height: 1.3;
     1255                transform: none;
     1256        }
     1257
     1258        .dotfb-hint > span {
     1259                min-width: 0;
     1260        }
     1261
     1262        .dotfb-hint__btn {
     1263                flex: none;
     1264                height: 36px;
    12441265        }
    12451266}
  • dotance-website-feedback/tags/1.1.1/assets/js/overlay.js

    r3726690 r3726820  
    690690                outline = h( 'div', { class: 'dotfb-outline', hidden: true } );
    691691                hint = h( 'div', { class: 'dotfb-hint', hidden: true }, [
    692                         h( 'span', { text: t( 'mode_hint' ) } ),
     692                        h( 'span', { text: t( window.matchMedia && window.matchMedia( '(pointer: coarse)' ).matches ? 'mode_hint_touch' : 'mode_hint' ) } ),
    693693                        h( 'button', { class: 'dotfb-hint__btn', type: 'button', text: t( 'cancel' ), onclick: () => setMode( 'browse' ) } ),
    694694                ] );
    … …  
    711711                        h( 'span', { class: 'dotfb-tb-sep', 'aria-hidden': 'true' } ),
    712712                        listBtn,
    713                         h( 'span', { class: 'dotfb-tb-sep', 'aria-hidden': 'true' } ),
     713                        h( 'span', { class: 'dotfb-tb-sep dotfb-tb-sep--end', 'aria-hidden': 'true' } ),
    714714                        whoEl,
    715715                ] );
  • dotance-website-feedback/tags/1.1.1/dotance-website-feedback.php

    r3726805 r3726820  
    44 * Plugin URI:        https://dotance.com/plugins/dotance-website-feedback/
    55 * Description:       Visual website feedback: clients pin comments with screenshots on any page through a review link. No login, data stays on your site.
    6  * Version:           1.1.0
     6 * Version:           1.1.1
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    2020}
    2121
    22 define( 'DOTFB_VERSION', '1.1.0' ); // Keep in sync with the header and readme.txt Stable tag.
     22define( 'DOTFB_VERSION', '1.1.1' ); // Keep in sync with the header and readme.txt Stable tag.
    2323define( 'DOTFB_PLUGIN_FILE', __FILE__ );
    2424define( 'DOTFB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • dotance-website-feedback/tags/1.1.1/includes/class-frontend.php

    r3726690 r3726820  
    227227                        'general_comment'      => __( 'General comment', 'dotance-website-feedback' ),
    228228                        'mode_hint'            => __( 'Click anything to leave feedback. Press Esc to cancel.', 'dotance-website-feedback' ),
     229                        'mode_hint_touch'      => __( 'Tap anything to leave feedback.', 'dotance-website-feedback' ),
    229230                        'mode_on'              => __( 'Comment mode on. Click anything on the page to leave feedback.', 'dotance-website-feedback' ),
    230231                        'mode_off'             => __( 'Comment mode off.', 'dotance-website-feedback' ),
  • dotance-website-feedback/tags/1.1.1/readme.txt

    r3726805 r3726820  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    105105== Changelog ==
    106106
     107= 1.1.1 =
     108* Phones: the comment-mode hint says "Tap" (no Esc key), sits above the toolbar instead of over the page header, the stray divider at the end of the toolbar is gone, and the device-preview button is hidden on phones.
     109
    107110= 1.1.0 =
    108111* A one-time, dismissible card on the Inbox asks for a WordPress.org review after 10 comments are resolved. "Maybe later" hides it for 30 days; "Already did" or leaving a review hides it for good. Only managers see it.
  • dotance-website-feedback/trunk/assets/css/overlay.css

    r3726690 r3726820  
    12341234
    12351235        .dotfb-tb-who,
    1236         .dotfb-tb-sep:last-of-type,
     1236        .dotfb-tb-sep--end,
     1237        .dotfb-tb--icon,
    12371238        .dotfb-kbd {
    12381239                display: none;
    12391240        }
    12401241
     1242        /* One slim row, as wide as the toolbar and right above it, so it never covers the page header the visitor may want to comment on. */
    12411243        .dotfb-hint {
    1242                 top: 12px;
    1243                 font-size: 13px;
     1244                top: auto;
     1245                bottom: 82px;
     1246                right: 12px;
     1247                left: 12px;
     1248                justify-content: space-between;
     1249                gap: 10px;
     1250                max-width: none;
     1251                padding: 6px 6px 6px 18px;
     1252                border-radius: 18px;
     1253                font-size: 14px;
     1254                line-height: 1.3;
     1255                transform: none;
     1256        }
     1257
     1258        .dotfb-hint > span {
     1259                min-width: 0;
     1260        }
     1261
     1262        .dotfb-hint__btn {
     1263                flex: none;
     1264                height: 36px;
    12441265        }
    12451266}
  • dotance-website-feedback/trunk/assets/js/overlay.js

    r3726690 r3726820  
    690690                outline = h( 'div', { class: 'dotfb-outline', hidden: true } );
    691691                hint = h( 'div', { class: 'dotfb-hint', hidden: true }, [
    692                         h( 'span', { text: t( 'mode_hint' ) } ),
     692                        h( 'span', { text: t( window.matchMedia && window.matchMedia( '(pointer: coarse)' ).matches ? 'mode_hint_touch' : 'mode_hint' ) } ),
    693693                        h( 'button', { class: 'dotfb-hint__btn', type: 'button', text: t( 'cancel' ), onclick: () => setMode( 'browse' ) } ),
    694694                ] );
    … …  
    711711                        h( 'span', { class: 'dotfb-tb-sep', 'aria-hidden': 'true' } ),
    712712                        listBtn,
    713                         h( 'span', { class: 'dotfb-tb-sep', 'aria-hidden': 'true' } ),
     713                        h( 'span', { class: 'dotfb-tb-sep dotfb-tb-sep--end', 'aria-hidden': 'true' } ),
    714714                        whoEl,
    715715                ] );
  • dotance-website-feedback/trunk/dotance-website-feedback.php

    r3726805 r3726820  
    44 * Plugin URI:        https://dotance.com/plugins/dotance-website-feedback/
    55 * Description:       Visual website feedback: clients pin comments with screenshots on any page through a review link. No login, data stays on your site.
    6  * Version:           1.1.0
     6 * Version:           1.1.1
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    2020}
    2121
    22 define( 'DOTFB_VERSION', '1.1.0' ); // Keep in sync with the header and readme.txt Stable tag.
     22define( 'DOTFB_VERSION', '1.1.1' ); // Keep in sync with the header and readme.txt Stable tag.
    2323define( 'DOTFB_PLUGIN_FILE', __FILE__ );
    2424define( 'DOTFB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • dotance-website-feedback/trunk/includes/class-frontend.php

    r3726690 r3726820  
    227227                        'general_comment'      => __( 'General comment', 'dotance-website-feedback' ),
    228228                        'mode_hint'            => __( 'Click anything to leave feedback. Press Esc to cancel.', 'dotance-website-feedback' ),
     229                        'mode_hint_touch'      => __( 'Tap anything to leave feedback.', 'dotance-website-feedback' ),
    229230                        'mode_on'              => __( 'Comment mode on. Click anything on the page to leave feedback.', 'dotance-website-feedback' ),
    230231                        'mode_off'             => __( 'Comment mode off.', 'dotance-website-feedback' ),
  • dotance-website-feedback/trunk/readme.txt

    r3726805 r3726820  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    105105== Changelog ==
    106106
     107= 1.1.1 =
     108* Phones: the comment-mode hint says "Tap" (no Esc key), sits above the toolbar instead of over the page header, the stray divider at the end of the toolbar is gone, and the device-preview button is hidden on phones.
     109
    107110= 1.1.0 =
    108111* A one-time, dismissible card on the Inbox asks for a WordPress.org review after 10 comments are resolved. "Maybe later" hides it for 30 days; "Already did" or leaving a review hides it for good. Only managers see it.
Note: See TracChangeset for help on using the changeset viewer.