Repository navigation
feat(chat): reading-column cap + full-width mobile agent replies + memoized markdown (audit #3/#8) - #72
Merged
Conversation
…lies + memoized markdown Web-design audit batch 2 (chat surface, 5.5/10) - the brief's #1 anti-pattern. - Desktop: cap .r-chat / .r-agent-unified-stream .r-md at 68ch (line-height 1.6) so long replies read as a column, not full-panel sprawl (Perplexity/ChatGPT/Claude). - Mobile: agent replies render full-width (drop messenger bubble radius/border/bg); the gradient bubble stays only for the user's own messages. - Perf: memoize MarkdownBody parse ([text]) so the transcript doesn't re-parse every token. Verified live: .r-chat .r-md max-width 579px (=68ch), line-height 21.6px, no console errors. Typecheck clean, build OK. Deferred to the next chat pass: Stop/Regenerate during streaming (#4), jump-to-latest + inline citations (#15), code-fence buffering + copy button (#8 remainder). Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Web-design audit batch 2/7 — chat surface (5.5/10). Caps AI replies at 68ch (the brief's #1 anti-pattern), renders mobile agent replies full-width (not messenger bubbles), and memoizes the markdown parse. Verified live:
.r-chat .r-mdmax-width 579px (=68ch), no console errors. Deferred to next chat pass: Stop/Regenerate (#4), jump-to-latest + inline citations (#15). See docs/design/SURFACE_WEB_DESIGN_AUDIT.md.🤖 Generated with Claude Code