Repository navigation
v0.8.0-beta.3
Pre-releaseThis pre-release fixes what six testers found walking every click and key of beta.2 on documents, slide decks, websites and phones: Tab moves on from a comment box, typed words are never lost without an Undo, keys used in Pipeup stay with it, focus never drops to the page, decks keep their own controls and make room for All comments, phones get finger-sized targets and a touch hint with Done, and highlights, accents and high-contrast modes stay readable. Pipeup is 57.4 KB gzip. It is a beta: try it from the next channel and tell us what breaks.
Changed
- Tab from a comment box moves on. In comment mode, Tab (or Shift+Tab) from an empty comment box closes it and moves the block cursor to the next (or previous) block in one press, instead of walking through Cancel, the naming bar, the bubbles and the comment control first. From a box with words, Tab goes through its own buttons (Cancel, Comment) and then moves on; the box waits beside its block, dimmed, with a faint outline on the block, and Enter or a click on another block takes you back to it ("Finish or cancel this comment first").
- Typed words are never lost without asking. Esc in a comment box with words, or Cancel, throws them away with an Undo for a few seconds; Esc anywhere else (a bubble, the naming bar, the block cursor) never does. A reply being written is kept when its thread closes (a click or tap elsewhere, Esc, another thread, or the window crossing between the column and pop-ups) and is back when it opens; Esc in a reply with words clears them first, with Undo, and the next Esc closes the thread.
- Focus never drops to the page. After Resolve or deleting a thread, focus goes to the next thread (or the block cursor, or the comment control); React, choosing an emoji, Edit and deleting a reply keep it on the card. A comment's ⋯ menu works with the arrow keys, and Esc closes it before the thread.
- Decks keep their own controls, and fit beside All comments. In comment mode a reveal.js deck's arrows, progress bar and slide number work as they do outside it, without marking them. On a deck that scrolls, any slide showing can be commented on, and the keyboard's block cursor starts on what is in view. Opening All comments makes a deck that fits the window refit into the space beside the panel, and closing it gives the space back; the comment control and its messages sit just above a deck's own controls in the bottom-right corner.
- The naming bar names controls plainly: "Checkbox · Email me updates", "Switch · Dark mode", "Tab · Overview", "Dropdown · Monthly" (its chosen option, not every one), "Disclosure" for a details summary, "List" and "Article"; a block with no words is a "Bar" or a "Shape". Its Pin icon is a map pin, no longer a second comment bubble. Where it sits over the page's words beside its block, it fades while the pointer is over them.
- All comments is a list of comments under a heading for screen readers (it was a menu holding buttons, text and a reply box); the arrow keys still move between cards.
- Comment mode's hint waits until the menu has closed, then shows for its full time; from the keyboard it also says how to pause (hold Space). Messages sit beside the open menu, never under it.
- Long comments show their first lines at rest. In the column a long comment shows four lines, fading, then more; the open thread shows all of it, so one long comment never pushes the others out of reach.
- Lists and menus ease. Cards that All comments' filters take away or bring back fold out and in, a card opening or closing there eases to its new height, a sent comment fades in exactly where its box was, and with reduced motion column threads fade out, move unseen and fade back in. The menu fades out whole when All comments is chosen, and ⋯ changes in place when Delete asks again.
- The comment control's count stops at 9+ (it went to 99+), in a wider bubble, so it always sits clear of the bubble's outline whatever the page's font; the exact number is in the control's name and shows when you point at it.
- Comment mode by touch. On a touch screen its hint says "Tap what you want to comment on" (not the keyboard and mouse hints) and stays beside the comment control while comment mode is on, with Done, which leaves comment mode in one tap; only Done takes a tap, so what is under the hint still works. The naming bar's Pin waits for the next tap and drops the pin there (from the keyboard it still pins the centre). Comment mode's hint, by touch or not, waits for the menu to close instead of showing under it, and a screen with only touch shows no keyboard shortcuts in the menu or the panel's footer.
- Fingers can hit everything. On a touch screen every button Pipeup shows is at least 44 px across: bubbles (which keep their small look), the naming bar's icons, the selection's icon, who you are in a new comment, a card's actions, the ⋯ menu, reactions, Cancel, Comment and Reply, the filters, Close and the footer's switch.
- Opening a thread by touch doesn't raise the keyboard: its reply box waits to be tapped. A long press on a reaction shows who gave it, without taking yours back. The selection's comment icon sits below the words, clear of the phone's own selection menu.
- Pipeup is 57.4 KB gzip with the click-path review's fixes (52.1 KB in beta.2), and its budget rises from 53 to 57.5 KB.
Fixed
- Keys used in Pipeup no longer reach the page. Arrows, Home and End in the menu and All comments, Enter and Space on Pipeup's buttons, and what is typed in a box (going down or coming up) stay with Pipeup, so a deck no longer turns its slide; ← and → on the comment control still do. The Esc that steps back or ends comment mode is Pipeup's, so a reveal.js deck no longer opens its overview.
- A double-click on Delete deletes nothing: its "Delete for everyone" question ignores the click that asked it.
- Phones: everything fits the screen and stays clear of the comment control. At 320 px the naming bar fits (its words shorten before its icons go), so Pin can be reached; a new comment's box, a thread beside a bubble and Pipeup's messages are never under the 44 px control, so their buttons can be pressed; bubbles at the window's edge are wholly on screen; the menu fits a phone on its side or a page zoomed far in, and scrolls when it can't; turning a phone with a thread open brings the thread and its words back into view; and in All comments on a phone an open card keeps where it is, and a comment moved into the panel keeps what it is on.
- The names of who reacted were drawn under the reply box for a reaction just added; a faded Undo message no longer catches clicks beside the control.
- A card's hidden actions can't be pressed: on a touch tablet a tap on a closed card opens it instead of resolving it, and after Resolve the next card's actions wait for the pointer to move.
- Enter in a page's form field in comment mode submits the form, instead of opening a comment on its submit button.
- The line to a new comment in All comments goes when the panel closes. Letting go of Space brings the block cursor's outline back. Double- or triple-clicking words in comment mode selects them without opening a box on the paragraph, and Esc with words selected clears the selection first. Clicking a second block moves an empty box there with the caret in it. The menu opened with the mouse takes the arrow keys, and Esc on Copy comments' choices folds them first. Screen readers hear "Reply sent" and "Comment added", and the edit box is named "Edit comment".
- Highlights stay readable over any colour. A highlight now follows the colour behind its own words, not the page's look or Pipeup's: light words in a dark footer or on a coloured button get a deep amber that keeps them readable (they fell to 1.9 to 1), and Theme › Light on a dark page no longer drops highlighted words to 1.1 to 1.
- The page's accent is used only when it reads. A link colour or
--pipeup-accentis taken only when words in it reach 4.5 to 1 on Pipeup's surfaces in the look showing; otherwise Pipeup uses its own. Words on the accent take whichever of white and near black reads better. - High-contrast (forced colours) modes show every state: switches, the filters on and off, your own reaction and whether comment mode is on.
- Keyboard focus is plainly marked on menu rows, All comments' cards, a card's actions and every other button, with a ring of at least 3 to 1 in both looks.
- Right-to-left comments read right to left. Each comment, reply and writing box takes the direction of its own words.
- The other-slides dot shows in comment mode (it was the accent on the accent).
- Names use the card's width. A card's hidden actions no longer keep 72 px of its top line empty; they ease in over the end of it, and the card keeps its size.
- A theme that differs from the page stays solid. Dimmed cards and the corner's glass no longer turn mid-grey when the Theme is dark on a light page, or light on a dark one.
- Words that match the controls. Resolving says "✓ Resolved in All comments shows it again", the Theme tooltip says Automatic once, and For you's tooltip no longer covers its "No comments mention you".
- Reaction counts show on cards and threads. Since reactions arrived in 0.7.0, a chip showed its emoji with a blank where the number belongs: the comment control's rule for hiding its own count also hid the chips' numbers. All comments' summary line was unaffected.
- A click made while Space is held is the page's alone. With a comment waiting, switching a site's tab that way no longer switches it straight back, and a click that started while Space was held finishes as the page's even if Space is let go first (one that started without it is Pipeup's).
- Comments on content that changed show "Moved", beside the page and in All comments, with what they read.
- A comment on content outside a tab panel shows whichever tab is open; a comment inside one still goes with its tab.
- Where a comment is names the section it is in, never the heading of the card before it or of a hidden tab, and copying gives a thread's words the same whether or not its slide shows (a reveal.js slide by its title). The Markdown's Element line says a slide's paragraph is in the slide's id, not that it is it.
- A new comment on a page's last lines keeps its box and buttons in the window. Two comments on one element each have their own bubble, side by side, and a bubble on a button sits just outside it, so the whole button still works. Choosing a comment inside a closed details outlines its summary instead of an empty box. A site's own bar at the highest z-index no longer hides Pipeup.
Install
npm i pipeup@0.8.0-beta.3<script src="https://cdn.jsdelivr.net/npm/pipeup@0.8.0-beta.3/dist/pipeup.min.js" integrity="sha384-tXTUm1slWZNTGaIbcAN0JPL30oCGGtoT+rUW/9T20VJY1t+XFinT1Xy5BPBhPbQy" crossorigin="anonymous"></script>SRI for dist/pipeup.min.js: sha384-tXTUm1slWZNTGaIbcAN0JPL30oCGGtoT+rUW/9T20VJY1t+XFinT1Xy5BPBhPbQy
Add-ons
npm i @pipeup/share@0.8.0-beta.3 @pipeup/voice@0.8.0-beta.3 @pipeup/live@0.8.0-beta.3 @pipeup/assist@0.8.0-beta.3 @pipeup/agents@0.8.0-beta.3 @pipeup/emoji@0.8.0-beta.3 @pipeup/github@0.8.0-beta.3 @pipeup/updates@0.8.0-beta.3 @pipeup/inbox@0.8.0-beta.3 @pipeup/identity@0.8.0-beta.3SRI for @pipeup/share/dist/share.min.js: sha384-wql/NFYQR4jzJgnXOS/Ch9FC7wydHsfjDtacKSSwiglNCFsRHEAFu+NV77BtQK7a
SRI for @pipeup/share/dist/pipeup+share.min.js: sha384-0ifNl0Dpik7Hdcy93CXtlmSQR1gIopZ/Oc2n3cbBfhRR9++thpCr54Y/0x4uCkbL
SRI for @pipeup/voice/dist/voice.min.js: sha384-eq8QijeWKjzubQyL1eH5khy4VFRKEyyQkJcsYg3U4brv8N8QsDKDwY+5XrNC7OKs
SRI for @pipeup/voice/dist/pipeup+voice.min.js: sha384-ghCxYI9IMxuP//PkKB9PnMXieSg/ieLePJO9CS3em4iVS8ykorPvxwcTfdmK/VHo
SRI for @pipeup/live/dist/live.min.js: sha384-RSVdnK2BRkBSTApk5bOpSe2DEDfk4I+g9yjaXioPnGv8t2L4N6TosjpEH1cSf0DF
SRI for @pipeup/live/dist/pipeup+live.min.js: sha384-4lK++BaGHBsFDRtlPU+WmYXdAtxL1tUs8w6Z5AVSJG3Ic1Cmt1qArr7d5XKb8lH5
SRI for @pipeup/assist/dist/assist.min.js: sha384-AScldYlxP5WwWHTGwyi6+2Z5+Hu7KM89zm7Yk8U9D3pOTsoBXPkteg2JlKy0BHAj
SRI for @pipeup/assist/dist/pipeup+assist.min.js: sha384-N9ibbVnVRxY7NmMFPGZC8C/UjJBYO4WlSVX3L4lldGG3pvtuNp20m63/wZjmghfT
SRI for @pipeup/agents/dist/agents.min.js: sha384-EnaJKckz3SQdlQBT68pWQHPibrJGW81iye5e8AGl/KhAVFyG0gRhxJxzhpG+vwDA
SRI for @pipeup/agents/dist/pipeup+agents.min.js: sha384-APFgt/3u2pO2fPEgm3DsN7gwJGeO2zTTwg2bKY2CJJdui/a2CwK7Tq8qXPG+Crq4
SRI for @pipeup/emoji/dist/emoji.min.js: sha384-RSEPcw/wigVNhrEv3MnJtqr2eXSmQtteFrGlNxBKKi/zLG+PrB9V484tJImp0Acl
SRI for @pipeup/emoji/dist/pipeup+emoji.min.js: sha384-qCpol/JYC2x/gRGkI/xQnnqUKQ5wNwdWM+AUzDsQz9GAnaeLk3HpkOLKEzfnAuGQ
SRI for @pipeup/github/dist/github.min.js: sha384-NTSohG4/5QrH2JlSjsT4WBzWAIUe+CrgqG9kdDxd49TwdvKdhCXE+1LsE7jiLPvR
SRI for @pipeup/github/dist/pipeup+github.min.js: sha384-VvolJ4F4+1egM5JjtVVfdY8QtkMdF3nQ69uyGA8vb6kErQKjpU6nvlW9dct19HiQ
SRI for @pipeup/updates/dist/updates.min.js: sha384-tCLIdgybLTEfmrfkBV1cH3GSYTIXv/g9ivN7fBB2/hHkX+NdsyfMpTgSragOCaUP
SRI for @pipeup/updates/dist/pipeup+updates.min.js: sha384-CmH6OP6ELsAZaaLTWNvMrPB+xcIWMqTGNrKWzwiXdRMNkYtDLCtw9tYfCAZDE7ss
SRI for @pipeup/inbox/dist/inbox.min.js: sha384-7bQh3sG8fhxekWjQFsPogPesPzCLMzw0DmJPecvTdkG/KuXNSaJQWbTZ2GHfVNXV
SRI for @pipeup/inbox/dist/pipeup+inbox.min.js: sha384-QBHMV8FFJuwy7FJWqXwy/U52pJGKbQ0XqQeep7wYKFdjkhWPYBecwgSsAibAu/zK
SRI for @pipeup/identity/dist/identity.min.js: sha384-KTS/eDFIsZUSp67Ag+SdKf0+GbH9Z/O8T5boIE7MWASPnHjuyiWt8P2xX/VqWOK9
SRI for @pipeup/identity/dist/pipeup+identity.min.js: sha384-c/2rkXOqB0lT0l44mfJdgxn+ghKMmkYKuYafugtUpbvax+w0cuXJLvqQY0Qq9KWF