Repository navigation
Pause's held form: the bars fill (DECISIONS 361) - #141
Merged
Merged
Conversation
Each bar is a closed loop 1.5 units wide on its own centreline, drawn through glyphs/source.mjs and the generator; at rest each loop folds to the line drawn before, so the resting glyph is unchanged. Pause joins copy, edit, trash and download as a named rich action, and is the one action with a selected form. The play-pause pair gets the slot map [0, 4, 1, 2, 3, 5, 6, 7], which keeps today's path at rest both ways. A pair with a filled end is no morph: the engine swaps it, since a pair's frames carry no fill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…S 361) Foundations says reduced motion is the 100ms crossfade for a pressed toggle; React swapped at once. Button and IconButton now pass `crossfade` on every pressed toggle's seat. On that seat a change that ends without a flight (reduced motion, a pair the engine refuses such as held pause and play, or the swap after an interruption) is the duration-fast crossfade of the two settled drawings, in one svg (CrossfadeSvg), so the box does not change; at animationend the seat is Icon again. Done seats, MorphIcon and seats without `crossfade` keep what they had. Doc comments say pause now fills. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A .btn-check whose glyph has a selected form draws both forms in one box ([data-pair]) and no check, and crossfades to the selected one while pressed; any other glyph keeps the check, matching React's changes(). The hold's icon-only toggle draws the pair once instead of swapping its svg on every change, so held is the filled bars by a 100ms crossfade, painted at once under data-still. The diagram's foot draws its seat through the same helper. Budgets (recorded in modules.json): toggle 1950 to 2400 and glyph 1950 to 2100, for the pair and the seat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The words the decision gives, verbatim: pause is two closed bars among the rich actions, and the one action whose bars fill when held; the pressed toggle and LoopsToggle say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Written while tests are paused (DECISIONS 330, 359); run when they resume. The tests that used pause as the glyph with no selected form now use copy. New: pause at rest is today's drawing and held is two filled loops; pause is the one action with a selected form; the play-pause path at rest is today's both ways; a filled end is no pair; a pressed toggle's reduced-motion crossfade at 0, 50 and 100ms both ways in the seat's box, then Icon again; held pause to play crossfades with the bars filled to the end; the skill's pair in the icon toggle and the Button seat, and a parity case for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PauseGlyph 2,819 to 3,210 bytes (eight slots and a rest form), LoopsToggleIcon 18,242 to 18,645, LoopsToggle 30,856 to 31,271; the whole package up front +487 minified, the style sheet +273. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fact) A pressed toggle's seat crossfades over duration-fast under reduced motion (DECISIONS 361); every other seat still swaps at once. AGENTS.md doesn't carry these words, so it is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ize table regenerated modules.json merged as data: main's file with this branch's own changes (the toggle and glyph budgets and the comment's added reason). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bmjcoding
marked this pull request as ready for review
November 24, 2026 19:14
bmjcoding
added a commit
that referenced
this pull request
Nov 24, 2026
…ble regenerated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An icon-only pause toggle's held look (DECISIONS 361). Today a held pause looks like a hovered one, and exactly the same under more contrast: the plate alone, colour alone. DECISIONS 328 left it open.
What it does
glyphs/source.mjsand the generator, never redrawn in code. At rest it is byte-identical to main's drawing. Held, each bar is a closed, filled 1.5-unit loop: 1.5px of ink becomes 2.5px at 16.duration-slowandease-out;duration-fast, as foundations already said. React was swapping it instantly.HighlightwithHighlightText, and the bars fill incurrentColor._.glyphPairand_.glyphSeat;loops.jsdraws the pair once instead of swapping the SVG;diagram-motion.jsuses the same seat.For the owner: a rule exception to approve
pausebecomes the one action glyph with a selected form. It breaks "actions are exactly three straight lines" and "actions keep their drawing". It joins copy, edit, trash and download as a named exception. The reason: pause is the glyph of a toggle that stays held. It is written into foundations, AGENTS.md and the glyph source.Pictures, in
.review/council/pause-toggle/build/:matrix-{dark,light,dark-more,light-more,forced}.png: rest, hover, focus, held, held with hover and held with focus, at sm and md, before (main) and now;place-*.png: the site header, the narrow menu, the run head and the diagram's foot;motion-*.png: the morph and the reduced-motion crossfade frame by frame, both ways, with the seat's box moving 0px in every frame.The reduced-motion fix reaches
Every pressed secondary or ghost
Button,IconButton,ToolbarButtonorToolbarIconButtonwith a core glyph that has a selected form. Among Basalt's own components, that is the pause toggle in its four places. Every other pressed toggle belongs to an app.Not reached:
MorphIcon, the done seat, the check seat, and the nav, tab bar and disclosure seats.Open edges:
Council
Light round.
Checks
Lint (5 of 5 steps), both typechecks,
npm run buildandnpm run sizespass. No tests were run (DECISIONS 330, 359). The new and updated tests (glyph source, morph pairs, the crossfade frames, forced colours, the skill's pair, parity) are written, not run.Sizes
PauseGlyph: +13.9% (2,819 → 3,210).LoopsToggle: +1.3%.togglebudget rises to 2,400 andglyphto 2,100, with reasons.🤖 Generated with Claude Code