Repository navigation
fix: open the selected automation from command search - #208487
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: ef16a25f-5aa5-42dd-9c8f-1873c4d57d57
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0af23a7f-6ef3-4c6b-84c9-f345e3c9c355
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. |
|
Codex review: passed. What this changesNamed automation search results now link to the selected job’s existing detail route. Example: With Morning status open, select Weekly release notes from command search.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes a current navigation defect with a minimal change; no actionable bugs were found. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI converts Gateway automation inventory into command-search results, whose shared navigation helper passes the selected destination to the existing automation detail loader. flowchart LR
A[Gateway automation inventory] --> B[Command search catalog]
B --> C[Encoded job destination]
C --> D[Click or keyboard navigation]
C --> E[Native browser link]
D --> F[Automation detail route]
E --> F
F --> G[Exact job lookup and detail view]
Technical reviewBest possible solution: Carry the encoded job ID through the existing palette destination and retain the automation route as the sole detail-selection owner. Do we have a high-confidence way to reproduce the issue? Current-main source omits the selected job query, and inspected before/after screenshots corroborate the reported wrong destination; no independent runtime reproduction was performed. Is this the best way to solve the issue? This is the smallest complete navigation repair: one catalog field reuses existing encoding, native links, keyboard selection, routing, and exact-job loading. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0ebe414929fc. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +1, Tests +2. Total +3 across 2 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 readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ 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 29, 2026, 1:42 PM ET / 18:42 UTC. |
* fix: open the selected automation from command search Co-authored-by: vyctorbrzezowski <[email protected]> * fix: open the selected automation from command search Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: ef16a25f-5aa5-42dd-9c8f-1873c4d57d57 * fix: open the selected automation from command search Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0af23a7f-6ef3-4c6b-84c9-f345e3c9c355 --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Choosing a named automation in command search opened the Automations section, not the selected automation. If another automation was already open, its prompt and Run now button stayed on screen.
User Impact
Choosing a result now opens that automation’s saved prompt and run history. Opening the result in a new browser tab uses the same destination. No settings or schedules change.
Why This Change Was Made
The search result already has the job ID. Passing it in the existing automation detail URL lets the same routing code serve keyboard selection, clicks, and the browser’s native link actions; no new selection state is needed.
Evidence
On pinned main
a736683d51e0, starting on Morning status and selecting Weekly release notes reopened Morning status. On0f4739f0536c, the same selection opened Weekly release notes and Edit showed its saved prompt. A middle-click opened the named automation in a separate tab. The receiving page’s full inventory fixture omitted Weekly release notes; its exact lookup supplied the detail. The comparison uses the real Control UI, a synthetic Gateway and a 1230 × 770 light Chromium viewport. No live automation was run or modified.The updated regression failed on the original bare href and passed on the fix, including a job ID containing reserved characters. Ten focused suites passed (169 checks). A separate existing detail-page issue remains: when an exact lookup fails while another automation is already open, the error can appear alongside the previous automation’s controls. This PR corrects the link, not that error state.
Clean comparison
Annotated comparison
Requested and co-authored by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by