Skip to content

fix(v2): chat measure without the centered island - #1104

Merged
lilyshen0722 merged 2 commits into
mainfrom
fix/chat-measure-no-centering
Aug 22, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
fix/chat-measure-no-centering

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Sam's review of #1103's chat measure, verbatim: 'it is a disaster' — and he's right. Centering the message column left it misaligned with the full-width header and composer. This keeps the readable-measure rule (76ch cap on message text) and removes the centering entirely; rows stay left-anchored. Invariant updated to pin both the cap and the never-again.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XeUH4HVDsDHYPsHJthXjB8

… island

The #1103 cut centered the message column while the header, composer, and
typing indicator stayed full-width left-anchored — a floating island
misaligned with everything around it. Correct mechanic: max-width 76ch on
the message BODY only; rows stay left-anchored so the whole surface shares
one edge. The readable-measure rule survives; the centering does not.
Pins both halves: 76ch body cap present, and the centered-children selector
can never return.
@lilyshen0722
lilyshen0722 merged commit 9b6e9ff into main Aug 22, 2026
11 checks passed
@lilyshen0722
lilyshen0722 deleted the fix/chat-measure-no-centering branch August 22, 2026 11:14
lilyshen0722 added a commit that referenced this pull request Aug 22, 2026
…tamps (#1110)

Craft audit findings 7 and 8 (docs/design/shell-craft-audit-2026-08-22.md),
both verified in a real browser against live pod data at 1440px.

Chat (baseline rule 3): consecutive messages from the same author within
3 minutes render one header — subsequent rows drop the avatar/name/time
and tighten. The avatar grid column is kept as a ghost cell so text never
shifts; Reply becomes a hover affordance on grouped rows. Replies, payload
cards, renamed authors, and out-of-order timestamps never group — the
predicate lives in utils/messageGrouping.ts with the boundaries pinned in
message-grouping.test.ts.

Sidebar (baseline rule 1): pod names ellipsized against their own
timestamps ("Sharpen — pod m…", "Team Orchestra…"). The name now wraps to
two lines (same idiom as the #1104 team-card fix) and the timestamp moves
to the snippet row, so it never shares a line with the name. The existing
64px row fits a 2-line title + snippet exactly.

Layout invariants pin both: the ghost cell must match the grid's 38px
avatar column, and the sidebar title must clamp-wrap rather than nowrap.


Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant