Repository navigation
fix: open chat when choosing a message search result - #206393
clawpacino wants to merge 2 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesMessage-search results explicitly open Chat while session-title results retain the session’s preferred view. Example: Select the launch checklist message in “Launch planning,” whose preferred view is an expanded dashboard.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Partial Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this PR addresses a source-confirmed message-search navigation bug that remains on current main. Reviewed head: Before merge
Findings
Tests
Agent review detailsHow this fits togetherControl UI search results pass session identity and navigation intent through the existing shell or Sessions page owner to the session route builder. flowchart TD
A[Command palette] --> C[Navigation intent]
B[Sessions transcript search] --> C
C --> D[Existing navigation owners]
D --> E[Session route builder]
E --> F[Chat or Dashboard]
A --> G[Native result link]
G --> E
Technical reviewBest possible solution: Every message-result activation should open Chat, while session-title activation retains its saved default. Do we have a high-confidence way to reproduce the issue? Current-main source routes message selections through the preferred-face resolver, establishing the dashboard-default failure without executing target code. Is this the best way to solve the issue? Explicit chat intent through the existing navigation owners is the smallest appropriate repair, but the palette’s native href must consume the same intent. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0362c5b16eac. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +5, Tests +10. Total +15 across 9 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 27, 2026, 12:16 AM ET / 05:16 UTC. |
What Problem This Solves
Choosing a matching message in Sessions search or the command palette could open its session’s dashboard instead of its conversation. On an expanded dashboard, the person would have to leave the view they just landed in to read the chat.
User Impact
Choosing a message opens that session’s chat. The entire message-result card opens the conversation. Choosing the session itself by title, from the palette or the Sessions table, still opens its preferred view. This does not change the shared preference or promise a jump to an older message outside the loaded transcript.
Why This Change Was Made
Both destinations already exist. Carrying explicit chat intent through the existing navigation path fixes the mismatch without a new picker, setting, or saved state.
Evidence
Chromium, synthetic Gateway data, same 1440 × 900 light viewport: select the launch checklist excerpt in a session that defaults to an expanded dashboard. Base
8d98397fcc5copened the dashboard route; candidate4df48f3e63f9opens the chat. On an isolated real Gateway with a persisted dashboard preference, the command palette opened the dashboard for a title match and the chat for a message match in that same session. A focused Chromium suite separately exercised Sessions search.The production build reports three existing asset-budget overages (largest CSS, chat startup JS request count, and compressed chat startup JS). A clean build of the same base revision reports all three; no budget was raised.
Before · dashboard instead of the conversation
After · conversation
Annotated comparison
🦞 Made with OpenClaw