Repository navigation
fix(v2): four live bugs from Sam's mobile review — flash, thread sink, live threads, sideways swipe - #1203
Merged
Conversation
…, 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
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.
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