Skip to content

feat(ui): open matching provider from command palette model results - #186468

Open
RileyJJY wants to merge 1 commit into
openclaw:mainfrom
RileyJJY:sunlit/fix/issue-186447
Open

RileyJJY wants to merge 1 commit into
openclaw:mainfrom
RileyJJY:sunlit/fix/issue-186447

Conversation

@RileyJJY

@RileyJJY RileyJJY commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Selecting a model result in the command palette opens the general Models page, leaving users to locate that model's provider in the provider list.

Fixes #186447

Why This Change Was Made

The command palette now passes the model's URL-encoded provider through the existing ?provider= route contract, following the linked issue's acceptance criteria. Generic Models navigation stays unfiltered. This is navigation only; it does not change the selected model, credentials, or configuration.

User Impact

Selecting a model result opens Models with its provider filter filled in. The generic Models command still opens the unfiltered page.

Evidence

  • Negative-control commit: 8cebac4847362f4d5b9f94656551789e9f3756c7. With the production change absent, the focused regression assertion fails because navigation receives only model-providers; it does not receive ?provider=fixture.
  • Pinned rebase base: e8296ec712607b1d9e3b67c77230f3b6e2cc7857. Resolved the conflict in test/vitest-ui-e2e-config.test.ts by retaining both main's and the PR's serial Gateway test entries.
  • Exact-head validation on 5f3d32625c7ebb0528cc265a987d438b49bbdb90 passed the UI E2E inventory suite (15/15 tests) and the real-Gateway browser proof (1/1 test). Selecting the model opens /settings/model-providers?provider=fixture; generic Models navigation stays unfiltered and sends zero config.patch requests. The scenario uses synthetic catalog data and makes no external model-provider calls.
  • On the pre-rebase range (f4b43b471479ee3f22a79de0513c61dbbefe1f80 to 37c4f83000dad3fd1fab8c731229a357f402f739), the focused command palette regression suite passed 27/27 tests. Its test-lines and line-cap ratchets also passed on that range.
  • pnpm check:test-lines-ratchet --base f4b43b471479ee3f22a79de0513c61dbbefe1f80 --no-merge-base: passed; 6,624,251 test lines against a 6,624,533 ceiling, with 282 lines of slack. The 176-line allocation covers the provider-navigation regression cases and synthetic real-Gateway browser proof.
  • pnpm check:line-cap-ratchet --base f4b43b471479ee3f22a79de0513c61dbbefe1f80 --no-merge-base passed; changed-file formatting also passed on the pre-rebase range.
  • The real-Gateway scenario is registered with both UI E2E inventories so CI excludes it from ordinary shards and runs it in the prepared Gateway lane.
  • Negative control: the generic Models command opens /settings/model-providers with an empty filter; the browser flow observed 0 config.patch requests.
  • Canonical precedent: the Model Providers route already reads ?provider=, and the command palette view already forwards item.search when navigating.

Command-palette result:

Command palette model search result

Base behavior:

Before: unfiltered Models destination

Head behavior:

After: Models filtered to fixture

Provider filter filled with fixture on the Models page

$ OPENCLAW_CAPTURE_UI_PROOF=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/proof-command-palette-model-provider.real-gateway.e2e.test.ts
model-provider-selection-proof {"url":"http://127.0.0.1:49000/settings/model-providers?provider=fixture","providerFilter":"fixture"}
model-provider-generic-proof {"url":"http://127.0.0.1:49000/settings/model-providers","providerFilter":"","configPatches":0}
1 browser test passed on exact HEAD 5f3d32625c7ebb0528cc265a987d438b49bbdb90

$ pnpm test ui/src/components/command-palette.test.ts --maxWorkers=1

Tested head SHA: 5f3d32625c7ebb0528cc265a987d438b49bbdb90.

AI-assisted: built with Codex

@clawsweeper

clawsweeper Bot commented Oct 28, 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. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 28, 2026
@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 37c4f83000dad3fd1fab8c731229a357f402f739, but the PR head is now 5f3d32625c7ebb0528cc265a987d438b49bbdb90. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (5 earlier review cycles)
  • reviewed 2026-10-28T03:19:15.338Z sha aec8705c67c882207398bdea927edf8867bc67b5 :: blocked before merge. :: [P2] Register the new suite with the real-Gateway test inventories
  • reviewed 2026-10-28T05:06:14.371Z sha 856192209418855602ff7f2e2cde3a950b89abde :: blocked before merge. :: [P2] Keep the private-server inventory in sorted order | [P2] Update discovery expectations for the registered Gateway suite
  • reviewed 2026-10-28T05:12:24.004Z sha 856192209418855602ff7f2e2cde3a950b89abde :: blocked before merge. :: [P2] Keep the private-server inventory in sorted order | [P2] Update discovery expectations for the registered Gateway suite
  • reviewed 2026-10-28T06:37:45.163Z sha 222af4fba6f00dbfcdc8299e117cba7f4a8865e3 :: blocked before merge. :: none
  • reviewed 2026-11-10T11:10:04.300Z sha 37c4f83 :: ready, awaiting a maintainer decision. :: [P3] Reuse the existing catalog browser fixture

@RileyJJY
RileyJJY force-pushed the sunlit/fix/issue-186447 branch from aec8705 to 8561922 Compare October 28, 2026 04:35
@RileyJJY

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 28, 2026
@RileyJJY

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 28, 2026
@RileyJJY

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Oct 28, 2026
@clawsweeper clawsweeper Bot removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 28, 2026
@RileyJJY
RileyJJY force-pushed the sunlit/fix/issue-186447 branch from 222af4f to cb07d89 Compare October 29, 2026 02:50
@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. labels Nov 1, 2026
@RileyJJY
RileyJJY force-pushed the sunlit/fix/issue-186447 branch from cb07d89 to a691e59 Compare November 3, 2026 13:57
@RileyJJY
RileyJJY force-pushed the sunlit/fix/issue-186447 branch 2 times, most recently from ef072a8 to 37c4f83 Compare November 10, 2026 11:01
@RileyJJY

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper clawsweeper Bot added status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 17, 2026
@RileyJJY
RileyJJY force-pushed the sunlit/fix/issue-186447 branch from 37c4f83 to 5f3d326 Compare November 21, 2026 04:04
@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. labels Nov 22, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale after 7 days without qualifying human activity.
Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Nov 29, 2026

This branch has not been deployed

No deployments
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. size: M stale Marked as stale due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Open the matching provider from command palette model results

1 participant