Repository navigation
Conversation
Close still dismisses the panel and keeps history. Minimize parks the same conversation behind a Restore chip, remembers the window mode, and keeps the unsent draft in the tab session.
Snapshot the live window mode before exitSidebar/exitFullscreen rewrite storage to popup. Drop the unused restore-status span.
… draft Escape while the docked chat had focus undocked it before minimize() could record the mode, so Restore came back as a popup. minimize() already undocks after recording the mode; the extra exitSidebar() call is removed. doSendMessage() saved state before clearing the input, so the question just sent was stored as the unsent draft and reappeared in the input after a page navigation while the answer was still streaming. Clear first, then save. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been 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.
Summary
Test plan
bee342d; localaudit-links(0 broken) andcheck-deleted-pages.mjs main(none deleted) pass on the current headastro buildon the current head: 1181 pages, exit 0. The two route-conflict warnings (/docs/sdk/tracing,/docs/sdk/annotation-queues) also appear on unrelated branches off the samemain.bee342d: came back as a popup)bee342d: the sent question reappeared as the draft)4c42a7afound the mode-capture bug, fixed inbee342d; adversarial verification passedbee342d. The two follow-up fixes ind792ac3were found and checked in the merge-readiness pass above.Not covered: streaming against the real docs agent, a real phone keyboard, and screen-reader checks. No backend, telemetry, or entitlement change.
Video demo
Recorded at
bee342d, before the two fixes ind792ac3(Escape-while-docked restore and the sent-text draft). Local preview of the built site, no prompt sent. Chapters and the private MP4 are on TH-3859.