Agentic UI: Preserve chat drafts when switching sites - #4596
Open
shaunandrews wants to merge 2 commits into
Open
Agentic UI: Preserve chat drafts when switching sites#4596shaunandrews wants to merge 2 commits into
shaunandrews wants to merge 2 commits into
Conversation
shaunandrews
marked this pull request as draft
August 18, 2026 18:23
katinthehatsite
force-pushed
the
preserve-chat-drafts
branch
from
August 19, 2026 13:15
2c0ef0f to
8bd8e33
Compare
shaunandrews
marked this pull request as ready for review
August 20, 2026 16:38
shaunandrews
force-pushed
the
preserve-chat-drafts
branch
from
August 20, 2026 16:38
8bd8e33 to
0259b39
Compare
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.
Related issues
How AI was used in this PR
Codex was used to implement the focused draft-preservation behavior, add regression tests, run repository checks, verify the interaction in the browser across light, dark, and RTL layouts, and draft this PR description. The resulting code and behavior were reviewed during implementation.
Proposed Changes
This PR is stacked on #4560 because that PR keeps the chat surface mounted while moving between chat and site overview; this follow-up covers switching between different sites.
Testing Instructions
Automated checks:
npx eslint --fixon all modified TypeScript and TSX filesnpm run typechecknpm test -- apps/ui/src/ui-classic/components/session-view/composer/index.test.tsx apps/ui/src/ui-classic/components/site-workspace/index.test.tsx apps/ui/src/components/site-list/index.test.tsxnpm run cli:build:uigit diff --checkScreenshots
Pre-merge Checklist