Skip to content

fix(v2): four live bugs from Sam's mobile review — flash, thread sink, live threads, sideways swipe - #1203

Merged
lilyshen0722 merged 1 commit into
mainfrom
fix-thread-ux
Aug 25, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
fix-thread-ux

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

All four measured live before fixing. (1) The half-second dark flash was content, not CSS: index.html prerenders the dark #seo-page inside #root on every route — a head script now stamps .js before first paint and CSS hides the prerender (crawlers without JS still get it). (2+3) In-thread sends rendered top-level until refresh and threads never updated live: the human-path newMessage broadcast omitted thread_root_id (the agent path has carried it since #1175), and the sender's dedupe graft dropped it when the socket copy won the race — both are #646's bug one field over. (4) The transcript was horizontally swipeable: .v2-thread-block carried width:100% plus its 50px indent (350 vs 326 scrollWidth at 390px); indent+width now sum to 100% and the transcript pins overflow-x:hidden. 297/297 frontend + 21/21 controller, all four pinned.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK

…, live threads, sideways swipe

1. The half-second dark flash was CONTENT: index.html prerenders the dark
   #seo-page inside #root on every route, painted until React replaces
   it. A head script stamps .js before first paint and CSS hides the
   prerender; crawlers without JS still get the content.
2. In-thread sends rendered top-level until refresh: the human-path
   newMessage broadcast omitted thread_root_id (#646 one field over —
   the agent path carries it since #1175), and the sender-side dedupe
   graft kept only replyTo when the socket copy won the race.
3. Same omission is why open threads never updated live.
4. The transcript was horizontally swipeable: .v2-thread-block carried
   the column's width:100% PLUS its 50px indent (measured 350 vs 326
   scrollWidth at 390px). Indent + width now sum to 100%, and the
   transcript pins overflow-x: hidden.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK
@lilyshen0722
lilyshen0722 merged commit 799e0d7 into main Aug 25, 2026
11 checks passed
@lilyshen0722
lilyshen0722 deleted the fix-thread-ux branch August 25, 2026 06:31
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