Skip to content

feat(chat): reading-column cap + full-width mobile agent replies + memoized markdown (audit #3/#8) - #72

Merged
HomenShum merged 1 commit into
mainfrom
claude/brave-einstein-e177ab
Jun 28, 2026
Merged

HomenShum merged 1 commit into
mainfrom
claude/brave-einstein-e177ab

Conversation

@HomenShum

Copy link
Copy Markdown
Owner

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-md max-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

…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]>
@HomenShum
HomenShum merged commit 16384ed into main Jun 28, 2026
1 of 3 checks passed
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
noderoom Building Building Preview, Comment Jun 28, 2026 9:40pm

Request Review

This branch was successfully deployed

1 active deployment
Preview — 76f272d7 Deployed Jun 28, 2026 by vercel[bot]
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