Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Note Written by Verified in a real dev environmentverified unchanged head
before: main clears the query after opening alpha. after: the same conversation opens with the query and both results retained. Not verifiedstandalone Electron, native iOS/Android, macOS/Windows, other browsers, and relay/tunnel connections were not exercised on this linux VM. native mobile uses a separate sidebar flow and is unchanged by this diff. |
f0ab746 to
cd5af66
Compare
AI-assisted; verified with the tests and tools listed above.
EvidenceReal web app, Chromium, 1280×800, light theme; fresh synthetic state on each commit. Search The scenario failed on base and passed on head: base lost the query and results after click and Enter; head retained both. Clear and Escape exited search on both.
Exact successful scenario. Recordings omit startup pairing screens. AI-assisted; verified with the tests and tools listed above. Not shown:
|










Problem
Opening a sidebar search result discards the query and results. Inspecting the wrong conversation means retyping the same query to try the next match.
Fixes #30276.
Change
Keep the sidebar search when a result opens, for both clicks and Enter. Escape and the clear button still exit search; message-content matches still open Find at the matching text.
Scope and approval
Submitted under the very small, focused obvious-bug exception: remove the query reset from result selection so browsing existing search matches does not destroy the search. No new setting, search mode, ranking, or persisted state. Web and desktop share this sidebar; native mobile has a separate flow and is unchanged.
Verification
Sidebar.search.browser.test.tsx, mounting the real app against the existing fake environment. It fails on main because selecting the first match empties the query; passes with the fix while opening a second match by keyboard, then clearing with the button and Escape.vp run check:changed upstream/mainpasses: format, lint, knip, affected typechecks, 140 tests in 6 files, and React Compiler verification.clampstill opens Find withclamp; clear and Escape return to the normal sidebar.Recordings: before · after: open two matches without retyping.
Reviewed with review-loop: 1 round with Claude Opus 5.5. Reviewer verdict: approved.
Created with GPT-6.1 Sol in the Codex harness through T3 Code.