Repository navigation
v0.8.0
This release is about reading and writing comments, and about Pipeup working wherever it is put. Every thread is the same compact card; All comments is the hub while it is open; you can edit and delete your own comments; comments show without comment mode; and the comment control is a small frosted square in the corner. Tab moves on from a comment box, typed words are never lost without an Undo, keys used in Pipeup stay with it and focus never drops to the page. Decks keep their own controls and make room for All comments, Pipeup works inside a page's own dialogs and fullscreen elements, and phones get finger-sized targets and a touch hint with Done. Portable identities are an add-on (@pipeup/identity), and pipeup init and pipeup read join check. It folds the five betas, 0.8.0-beta.1 to 0.8.0-beta.5.
Pipeup is 58.9 KB gzip (52.3 KB in 0.7.0), and its budget rises from 56 to 59.5 KB: the cards, the hub, editing, touch, decks, dialogs and the fixes from two rounds of testing every click path are Pipeup's own UI, which every page shows.
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.
- All comments is the hub while it is open. The comment control becomes the panel's footer (who you are, Comment with its switch, and ⋯ for the rest of the menu), so it is never hidden under the panel. Turning comment mode on leaves the panel open, and a new comment is written in the panel, in page order, joined to what it's about by a line. The header has no title, just its two filters and ×. The panel stays open until you close it (× or Esc); clicking the page no longer closes it.
- All comments' filters read as on or off. They are pills with an icon and a word, @ For you and ✓ Resolved, grey when off and filled with a soft tint of the accent colour when on, with tooltips. Hovering a closed card in the panel shows its actions (React, ✓ Resolve and ⋯, as on every card), and they work without opening it; on touch screens they show once the card is open.
- Every thread is the same compact card, in the column, beside a bubble, in All comments and in the drawer: avatar, name, how long ago (the exact time on hover), the words, and its actions at the top right (React, ✓ Resolve, and ⋯ with Copy thread).
- The comment and reply boxes say "Comment (Reply) or add others with @" and have Cancel and Comment (Reply) buttons while you write. Enter still sends.
- Comments show whether comment mode is on or off. Highlights, bubbles and the column can be read and opened without turning comment mode on, and the rest of the page works as normal. Hide comments, a new switch in the menu, puts them out of sight; the choice is remembered for that page in this browser.
- The comment control is a small frosted square tucked into the corner instead of a round button floating over the page: flush with the bottom and right edges, no border, the count inside a bigger bubble. Pointed at, it reaches left to show its shortcut. In comment mode a click on it opens All comments.
- Clearer small icons. On the naming bar, Around it is a small box with an arrow leaving it and Inside it a large box with an arrow pointing into it, so the two never look alike; Pin stands as tall as them. A card's actions (React, Resolve, ⋯) are larger, and React's face has round eyes and a gentler smile. In an avatar the animal nearly fills its tint.
- A shorter menu. Copy comments is one row that opens to its two choices, As Markdown and As text, and Look is now called Theme.
- Portable identities are an add-on,
@pipeup/identity. My identity (making an identity portable, its recovery code and file, using it elsewhere, and sharing a way to be reached) moved out of Pipeup, so pages that don't need it download less. A leaner build (the classic script without CommonJS interop, the stylesheet after the code, ASCII-only output) trims Pipeup further, with no change in behaviour. Comments written under a portable identity are still shown and verified, with or without the add-on, and a browser that holds one keeps writing as it. With the add-on, the My identity row sits with the other add-ons' rows in the menu.pu.document.identityCode()is gone;pu.document.seed()returns a portable identity's seed.
Added
- Edit and delete your own comments from their ⋯ menu. Editing puts the words back in a box with Cancel and Save; Delete asks once more. A deleted comment goes away, and deleting a thread's first comment removes the thread.
- Hold Space to pause comment mode. While it is held, the outline and picking cursor go and the page works as normal, so you can click through it to what you want to comment on. Letting go brings comment mode back. Space is the key because it leaves a click alone (⌘-click would open a link in a new tab); typing in a field and pressing a control from the keyboard keep their Space.
- A standby signing key for the update list. The
updatesadd-on also trustsk2, kept offline, so if the current key is ever lost or leaked the list can be signed withk2without a new add-on release. pipeup init <page.html>adds Pipeup to a page in one step: the script pinned to this version and its integrity hash, and a document identity if the page has none (it never changes one). It says what it will change and asks first, and leaves every other byte as it was.--updatemoves a page to this version,--offlineputs Pipeup inside the page,--addon <id>adds an add-on (saying what it sends, and asking for what it needs), and--agentlists this computer's agent. It then offers stable names for the page's headings, figures, tables, images and slides, one at a time, for you to accept, rename or skip (--marksgoes straight there). Nothing is fetched.pipeup read <page.html>prints a page's comments without opening it, as Markdown (like Copy as Markdown) or--json: from feedback files and folders of them (--from,--deep), the page's shared copy (with@pipeup/shareinstalled; it sends nothing) and its replies file (only from agents the page lists). Every comment meets the page's checks; what was read, skipped or left out is said on standard error.--outwrites one merged feedback file.- Two add-on slots:
host.openDialog(content, label)(capabilitydialog) andhost.identity(capabilityidentity).
Fixed
- On a deck, the comment control stays in its corner when the deck is shown fullscreen, inside a page's dialog, and beside a layer over the whole window that the page asks Pipeup to ignore: it went off the top of the screen.
- On reveal.js, a comment goes under the slide it is on, and the block cursor leaves a slide as the deck turns, even while it is still sliding away. A page that sets its own width (
html { width: 100% }, as reveal.js and many resets do) now makes room for All comments. - Replies are kept in All comments: a reply being written there was thrown away when its card closed, another card opened, or a thread moved into the panel. Esc in it now throws the words away with Undo, as everywhere else.
- Opening All comments while writing a comment keeps the caret in it: the next keys went to another thread's row, and could post a reply there.
- Esc while an input method is composing (Japanese, Chinese, Korean) only cancels the composition; it threw the whole comment or reply away.
- ⌘Z (Ctrl+Z) takes the Undo after Esc or Cancel, so it can be reached from the block cursor; once the message fades, its Undo is no longer a Tab stop.
- On a deck, Tab or a click on nothing in particular leaves a waiting comment on its own slide (it turned the deck back), and going back to it puts the caret in it. On a deck Pipeup can't turn, Pipeup says which slide the waiting comment is on.
- With a page's modal dialog or inert overlay open, the block cursor only visits what is in it. Pipeup leaves a web component's dialog however it closes, keeps the caret when a dialog renders its contents again, and waits outside a dialog moved with a transform (it was trapped in the dialog's box).
- Copy thread keeps focus on its ⋯, and copying without the browser's clipboard keeps focus where it was.
- A change of look fades instead of blinking.
- Many comments on one element keep their bubbles in the room they have. Side-by-side bubbles ran on to the right, over the comment column's first cards, and near the window's edge piled onto one spot, so some couldn't be clicked. They now step left before the column or the window's edge, and onto a further row when a row is full; each one is clear of the others and can be clicked.
- A closed card's hidden actions never take a click or tap. On a touch tablet, a tap on a closed column card where its Resolve, React or ⋯ would be resolved the thread or opened them (the tap hovers the card as it lands); it now opens the card. With a mouse, a click on a closed card's corner as the pointer arrives no longer resolves the thread before Resolve shows: a card's actions take presses once they have eased in.
- After Resolve in the column, a second click with the pointer still opens the next card instead of resolving it too. The keyboard still reaches and sees its actions at once.
- On a deck, comment mode's touch hint, Pipeup's other messages and the comment control sit above the deck's own controls anywhere along the bottom, not only in the bottom-right corner: on a phone the hint no longer covers a bottom-centre "← 1 / 3 →" bar.
- Commands match the page's Pipeup. The agents add-on's prompt for an agent now names the page's Pipeup version (
npx pipeup@0.8.0-beta.4 comments …), and a pre-release's prompt points at the pre-release guide; on the pre-release site (/next/) everynpx pipeupcommand in the pages, skills andllms.txtnames the pre-release. A barenpx pipeupfetched npm's stable release (0.7.0) for pages running a beta. - A comment shows where it is when its content is on the page, even if the page now reports something else about itself, such as a new revision of a design: it was counted as "in another view", with no bubble and no line to it, whenever its content had also changed (found as Moved). Content that is hidden or gone still counts as elsewhere. The integration skill now says to report only where the reviewer is, never a revision or date.
- Pipeup works while a page's own dialog is open. In a browser's modal dialog, the comment control, menu and comment boxes were under its backdrop and couldn't be used (the browser makes everything outside the dialog inert); Pipeup now moves its element into the open dialog and back out when it closes. A library's dialog that traps focus no longer pulls the caret out of a comment box, and one that closes on a press outside no longer closes when Pipeup is used. Dialogs that make the rest of the page inert, and overlays at the highest z-index, were already fine and are now tested.
- While All comments is open, messages sit inside the panel above its footer, so comment mode's hint no longer covers a deck's own slide controls beside the panel.
- Pipeup also works in a web component's modal dialog (as Material Web's) and in an element shown fullscreen (a deck presenting, say), and keys pressed in Pipeup never reach a page's dialog: Escape in a comment box no longer closes a Radix or shadcn/ui dialog, and Tab no longer jumps into a focus-trapping one.
- The Esc that closes the menu no longer also leaves comment mode when focus is on the page.
- 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.
- A mention of you stays inline in its sentence. It showed as a band on its own line, with the rest of the sentence pushed below.
- Pipeup's messages appear beside the comment control. They were at the bottom centre, over a deck's slide controls and a phone's last lines of text. While All comments is open they sit beside it.
- A new comment beside the page is never under the comment control. Near the bottom of the window, an open card or new comment in the column moves up just enough to clear it.
- On a phone, a comment opened from its bubble no longer covers what it's about. With no room beside the bubble, the comment sits below the element, or above it.
- The selection's comment icon no longer covers the line above. It sits just past the end of the paragraph's text, level with the selection's last line.
- All comments no longer closes when you click a comment on the page. Clicking a comment's highlighted words, bubble or column thread while the panel is open now opens that thread in the panel. Before, the panel closed: depending on the case, the thread opened on the page instead, or nothing opened at all.
Changed (the website)
- The home page's showcase keeps a smallest size, so no scene is cut off: a thinner frame, never narrower than 440 px beside the headline, never shorter than 400 px, and a sideways scroll on screens too narrow for it.
- The footer has no facts line: it says no more than its Add-ons and For agents links.
- The Add-ons page is a page of small cards, in three groups (From Pipeup, Run your own, Examples from another company). Each card has a title, one sentence and a picture; its Copy button copies the prompt, script tag or command (a menu when there is more than one), and a click anywhere else opens the add-on's own page, with what it sends, what it asks, its buttons and its demo. Each add-on page has a Markdown copy for agents, and
llms.txtpoints to them. - The site's animations show Pipeup as this version draws it: the comment box with Cancel and Comment and the compact card it becomes, the selection's icon beside the text, the naming bar with Around it and Pin, and on the Add-ons page Assist's reading line and reply inside the comment's card.
Install
npm i pipeup@0.8.0<script src="https://cdn.jsdelivr.net/npm/pipeup@0.8.0/dist/pipeup.min.js" integrity="sha384-e0sNFUJYOTU68x/3vKB/z7saGA/5k/bxL2dbxwIM8HtguICVDolfAMiUt5WxSczd" crossorigin="anonymous"></script>SRI for dist/pipeup.min.js: sha384-e0sNFUJYOTU68x/3vKB/z7saGA/5k/bxL2dbxwIM8HtguICVDolfAMiUt5WxSczd
Add-ons
npm i @pipeup/share@0.8.0 @pipeup/voice@0.8.0 @pipeup/live@0.8.0 @pipeup/assist@0.8.0 @pipeup/agents@0.8.0 @pipeup/emoji@0.8.0 @pipeup/github@0.8.0 @pipeup/updates@0.8.0 @pipeup/inbox@0.8.0 @pipeup/identity@0.8.0SRI for @pipeup/share/dist/share.min.js: sha384-wql/NFYQR4jzJgnXOS/Ch9FC7wydHsfjDtacKSSwiglNCFsRHEAFu+NV77BtQK7a
SRI for @pipeup/share/dist/pipeup+share.min.js: sha384-rwLpT/tOBmkb8Ok6kzmkmuPahbF+Uzc0GkyOvdZRug/dIyow22Fs2XGG2G6z5yC9
SRI for @pipeup/voice/dist/voice.min.js: sha384-eq8QijeWKjzubQyL1eH5khy4VFRKEyyQkJcsYg3U4brv8N8QsDKDwY+5XrNC7OKs
SRI for @pipeup/voice/dist/pipeup+voice.min.js: sha384-QWx9JmHr92pYzNCUbFUS5ptDojhCeEuPDdiUQX1iZajP1+1plA84BOxzpgDbJMYi
SRI for @pipeup/live/dist/live.min.js: sha384-RSVdnK2BRkBSTApk5bOpSe2DEDfk4I+g9yjaXioPnGv8t2L4N6TosjpEH1cSf0DF
SRI for @pipeup/live/dist/pipeup+live.min.js: sha384-2uJ9s67FKqEQhpZ0ulXFSaNtB9K5cQ5f68uiNC3hLhBS9iFTfUGkwI1oCmltch4T
SRI for @pipeup/assist/dist/assist.min.js: sha384-AScldYlxP5WwWHTGwyi6+2Z5+Hu7KM89zm7Yk8U9D3pOTsoBXPkteg2JlKy0BHAj
SRI for @pipeup/assist/dist/pipeup+assist.min.js: sha384-+1B6e9OOOvATRBAxNvY/K+tUC4yoPP41+51KY2KihEJpn1s8df35E9PUdkhVT4Cd
SRI for @pipeup/agents/dist/agents.min.js: sha384-GkGy8gt0VPnWdPQlinQuPktE6rY/upvyYi9veqIBpwFi3WnnMEOHpHu00vin350j
SRI for @pipeup/agents/dist/pipeup+agents.min.js: sha384-2aHh5ogg3GtnibUy8ks27bG+LhX9VuKTvWvqK2h1krEjuvWwgL0djK/+u8ZlLSUL
SRI for @pipeup/emoji/dist/emoji.min.js: sha384-RSEPcw/wigVNhrEv3MnJtqr2eXSmQtteFrGlNxBKKi/zLG+PrB9V484tJImp0Acl
SRI for @pipeup/emoji/dist/pipeup+emoji.min.js: sha384-TCKcKNaHqojIjitFrGu7RUoS6sH7zej85iwFPaiu/eqD/ZIlnKc0m5iIGn3TRb3a
SRI for @pipeup/github/dist/github.min.js: sha384-NTSohG4/5QrH2JlSjsT4WBzWAIUe+CrgqG9kdDxd49TwdvKdhCXE+1LsE7jiLPvR
SRI for @pipeup/github/dist/pipeup+github.min.js: sha384-Rvo+SI1oCgt5UKTKYNKUtO3AG5cszos5obZUD0XZJxWuq7Y3giGeTNeshn/N+6jW
SRI for @pipeup/updates/dist/updates.min.js: sha384-tCLIdgybLTEfmrfkBV1cH3GSYTIXv/g9ivN7fBB2/hHkX+NdsyfMpTgSragOCaUP
SRI for @pipeup/updates/dist/pipeup+updates.min.js: sha384-82ftJw/ac5PNowE1rVKcKeqOOjoyioqAjngdRfK6jHh2dkV3fZuyPLT5DSy31QGa
SRI for @pipeup/inbox/dist/inbox.min.js: sha384-7bQh3sG8fhxekWjQFsPogPesPzCLMzw0DmJPecvTdkG/KuXNSaJQWbTZ2GHfVNXV
SRI for @pipeup/inbox/dist/pipeup+inbox.min.js: sha384-wrqJL/rqfJYpif3Qqst8zi72oe1br6zBfn261Lk1rVuhQgvpV0z08eQNAuFGc/8t
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-2L3Bfd/NCusXA2sysucY/cGsdTwqHnvEMG9dJE9ovB6nmv5Z0nXYmZaOCrEWRtJr