Skip to content

fix: open the selected automation from command search - #208487

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/wrong-links-navigation-4e74
Nov 30, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/wrong-links-navigation-4e74

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

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. On 0f4739f0536c, 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

Before: choosing Weekly release notes left Morning status open

After: Weekly release notes and its saved prompt are open

Annotated comparison

Before: the previous automation remains selected

After: the selected automation is displayed

Requested and co-authored by @vyctorbrzezowski.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 3 commits November 29, 2026 05:20
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
@clawsweeper

clawsweeper Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision.

View the workflow run.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 29, 2026
@clawsweeper

clawsweeper Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

Named 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.

  • Before: Morning status remains displayed.
  • After: Weekly release notes opens with its saved prompt and run history.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct repair with inspected browser evidence, meaningful regression assertions, and successful reviewed-head checks.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected Chromium screenshots of the real Control UI with a synthetic Gateway show the selected automation’s own title and saved prompt after navigation; the body also records Edit and middle-click checks, which the still images do not independently demonstrate.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Selecting a named automation can leave another automation’s prompt and Run now control displayed.
Reason: The maintainer-authored direction connects an existing result identity to its existing detail route without changing schedules, settings, or execution.

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: e9eae8b04774d03f0c994f263af13e059f0383d7

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +1, Tests +2. Total +3 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 0 +1
Tests 1 4 2 +2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 5 2 +3

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 29, 2026, 1:42 PM ET / 18:42 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit 13e45fa into main Nov 30, 2026
113 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/wrong-links-navigation-4e74 branch November 30, 2026 02:30
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 30, 2026
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants