Repository navigation
B2: the conversation stream (Stream, messages, notes, quotes, arrival, DisclosureRow, ActivityList, Presence) (DECISIONS 265) - #116
Merged
Conversation
…he entry you came to, disclosure rows, activity lists and presence Decided and built by Opus on the no-council path (DECISIONS 226 and 265); Astra reviews the code, the lead the pixels, and the owner sees round 56 before merge. Every part is shown in two unlike domains with synthetic data; React's alone for now (no HTML skill module). - Stream, StreamMessage (joined runs the app decides), StreamNote, StreamEntry, StreamBlock, StreamQuote (a fill one step from its ground, no rim), and the arrived mark (a plate in the selected wash and a word; a panel's own fill takes the wash, never a frame round it; it lasts until the reader acts, then fades with nothing moving), with StreamArrivedWord for a panel's head. - DisclosureRow on Base UI's Collapsible: one line, cut closed and wrapped open, the core chevron's morph, ink lift, the +2 ring. - ActivityList and ActivityStep: a sentence a step that wraps, the plain badge's status seat and the status in words. - Presence, Elapsed and formatElapsed: "Away 6 min", a duration rather than a relative age. - useInShape moves to its own module (in-shape.ts) so a part that only asks does not carry LoadingShape. - Foundations, motion.md and the README document them; tests in stream.test.mjs; sizes recorded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- An arrived block says its own word: in a message with a head, the head carries the block's label; in a joined message (no head) or outside a message, the block draws the word above itself. One word either way; forced colours keep it. - An arrival in a hidden pane is not spent: it waits for a box (ResizeObserver, checkVisibility), then scrolls, focuses and arms once. - One entry arrives at a time, in code: placing another ends the one before and calls its onArrivedEnd. - The message's words are in block flow, so a link stays in its sentence; blocks inside stand space-2 apart, and a block's own paragraphs lose their margins. - Elapsed always renders its time element (empty and hidden under a minute), so a 59 s server render hydrates at 61 s cleanly. - A tall entry is measured against its scrolling pane's height, not the window's. - formatElapsed returns null for an invalid date; the arrival's selectors are scoped to the stream's parts. - Tests: the block word (head, joined, forced colours), the hidden pane, one at a time, the pane alignment, inline flow, hydration, NaN, the scoped focus ring, a held mid-fade frame and the panel wash against its color-mix recipe. Round 56's arrived step opens one entry per state (support reply, panel, block) now that only one can be marked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/foundations.md # packages/react/README.md # packages/react/test/export-sizes.json # packages/react/test/server-modules.test.mjs # tools/review/round56.tsx # tools/review/rounds.tsx
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.
What
Batch B2 of the CIMIP gaps stream (
cimip-gaps-2, DECISIONS 265).Stream: an ordered list, not a live region.StreamMessage: an avatar gutter and a head with the name, time, meta and actions. Withjoined, the head isn't drawn but is still spoken.StreamNote,StreamEntry,StreamBlock.StreamQuote: a fill one level up, with a caption saying whose words they are.arrived): the entry you came to.DisclosureRow: Base UI's Collapsible with the core chevron morph.ActivityListandActivityStep: braille, dots and the ring, with "Failed" and "Waiting" as words.Presence,ElapsedandformatElapsed: on the shared minute timer, safe to render on the server and hydrate.useInShape: moved toin-shape.ts.Review
31a4a606. The lead checked them.Elapsedbroke hydration at the first minute;Checks
stream(24 of 24) and the related files, 239 of 239.origin/mainfbbd795b): build, the React and review typechecks, and lint.export-sizes.jsonwas re-recorded. No tests ran on the merged tree.server-modules' list of plain exports.Size
styles.cssgrew 3.7% minified (317,406 bytes). The new parts' sizes are in the batch report.🤖 Generated with Claude Code