Skip to content

Make Advanced settings sections searchable with Command+K - #4505

Merged
benjaminshafii merged 6 commits into
devfrom
feat/advanced-settings-access
Sep 5, 2026
Merged

benjaminshafii merged 6 commits into
devfrom
feat/advanced-settings-access

Conversation

@benjaminshafii

@benjaminshafii benjaminshafii commented Sep 5, 2026 •

Copy link
Copy Markdown
Member

Command+K now finds individual sections inside Advanced settings, including runtime, config sources, diagnostics, and the experimental engine. Choosing a result scrolls to and focuses that section. With developer mode enabled, all six sections appear in the unfiltered settings results.

Section links preserve the selected workspace. The journey test also detects the app platform so remote Linux runs use Control+K.

Validation: app and journey type checks passed. OPENWORK_EVAL_REF=feat/advanced-settings-access pnpm evals:e2e command-palette-search passed on Daytona: 1 passed, 0 failed, 0 skipped. The journey verifies each section is focused and in view, plus developer-mode discovery and alias filtering. Restricted-organization policy behavior is not exercised by this journey.

@vercel

vercel Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

4 Skipped Deployments
Project Deployment Actions Updated
openwork-app Ignored Ignored Preview Sep 5, 2026 4:17pm UTC
openwork-den Ignored Ignored Preview Sep 5, 2026 4:17pm UTC
openwork-diagnostics Ignored Ignored Preview Sep 5, 2026 4:17pm UTC
openwork-landing Ignored Ignored Preview Sep 5, 2026 4:17pm UTC

@benjaminshafii
benjaminshafii enabled auto-merge (squash) September 5, 2026 16:10
diff-warden[bot]
diff-warden Bot previously approved these changes Sep 5, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (2d6b9c5151cdbea409efc5ba9cd102ea68196825). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

diff-warden[bot]
diff-warden Bot previously approved these changes Sep 5, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (39b80dc6e7aaf469ba04c1ebf73a4cca49159e94). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (33b6caffe77be2325616535a1db5ff83b5eeb94f). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@benjaminshafii

Copy link
Copy Markdown
Member Author

Test evidence — command-palette-searches-settings-by-alias-navigates-records-recents-and-filters — ✅ passed

SHA 33b6caf · engine v1

✅ 0/6 screenshots passed · 0 expectations passed · 0 failed · 0 pending

[world] desktop(daytona) · workspace(/tmp/openwork-command-palette-search-1788625025597-1788625115230)
[probe:raw] [probe:raw] eval()
[probe] hash
[user] press(Control+K) · see(placeholder=Search actions, settings, and sessions…) · see(text=Actions) · see(label=/^Permissions/) · notSee(text=Recent) · notSee(label=/^Experimental engine/) · screenshot · type(placeholder=Search actions, settings, and sessions…, "folders", replace) · see(label=/^Permissions/) · notSee(text=Sessions) · screenshot · press(Enter)
[probe] hash · eventually(Permissions settings route)
[user] see(text=/Authorized folders/) · press(Control+K) · see(placeholder=Search actions, settings, and sessions…) · see(text=Recent) · see(label=/^Permissions/)
[probe] storage(openwork.react.command-palette.recents)
[user] screenshot · type(placeholder=Search actions, settings, and sessions…, "dark mode", replace) · see(label=/^Appearance/) · screenshot · press(Enter)
[probe] hash · eventually(Appearance settings route) · has("Arrow keys to navigate") · eventually(command palette closes after choosing Appearance)
[user] see(text=/Adjust how OpenWork looks/) · press(Control+K) · see(placeholder=Search actions, settings, and sessions…) · type(placeholder=Search actions, settings, and sessions…, ">", replace) · see(label=/^Toggle sidebar/) · notSee(label=/^Appearance/) · notSee(label=/^Permissions/) · screenshot · press(Escape)
[probe] has("Arrow keys to navigate") · eventually(command palette footer disappears)
[user] notSee(placeholder=Search actions, settings, and sessions…)
[probe] hash
[user] press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "Enable Developer Mode", replace) · click(label=/^Enable Developer Mode/)
[probe] has("Arrow keys to navigate") · eventually(command palette finishes closing)
[user] press(Control+K) · see(label=/^Organization server/) · see(label=/^Runtime/) · see(label=/^Agent access diagnostics/) · see(label=/^OpenCode config sources/) · see(label=/^Experimental engine/) · see(label=/^Developer/) · screenshot · type(placeholder=Search actions, settings, and sessions…, "Disable Developer Mode", replace) · click(label=/^Disable Developer Mode/)
[probe] has("Arrow keys to navigate") · eventually(command palette finishes closing)
[user] notSee(placeholder=Search actions, settings, and sessions…) · press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "server url", replace) · notSee(label=/^Experimental engine/) · click(label=/^Organization server/)
[probe] hash · eventually(Organization server section route) · has("Arrow keys to navigate") · eventually(command palette finishes closing)
[probe:raw] [probe:raw] eval()
[probe] eventually(Organization server is focused and in view)
[user] notSee(placeholder=Search actions, settings, and sessions…) · press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "connection status", replace) · notSee(label=/^Experimental engine/) · click(label=/^Runtime/)
[probe] hash · eventually(Runtime section route) · has("Arrow keys to navigate") · eventually(command palette finishes closing)
[probe:raw] [probe:raw] eval()
[probe] eventually(Runtime is focused and in view)
[user] notSee(placeholder=Search actions, settings, and sessions…) · press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "cloud mcp", replace) · notSee(label=/^Experimental engine/) · click(label=/^Agent access diagnostics/)
[probe] hash · eventually(Agent access diagnostics section route) · has("Arrow keys to navigate") · eventually(command palette finishes closing)
[probe:raw] [probe:raw] eval()
[probe] eventually(Agent access diagnostics is focused and in view)
[user] notSee(placeholder=Search actions, settings, and sessions…) · press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "config sources", replace) · notSee(label=/^Experimental engine/) · click(label=/^OpenCode config sources/)
[probe] hash · eventually(OpenCode config sources section route) · has("Arrow keys to navigate") · eventually(command palette finishes closing)
[probe:raw] [probe:raw] eval()
[probe] eventually(OpenCode config sources is focused and in view)
[user] notSee(placeholder=Search actions, settings, and sessions…) · press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "chat engine", replace) · notSee(label=/^Organization server/) · click(label=/^Experimental engine/)
[probe] hash · eventually(Experimental engine section route) · has("Arrow keys to navigate") · eventually(command palette finishes closing)
[probe:raw] [probe:raw] eval()
[probe] eventually(Experimental engine is focused and in view)
[user] notSee(placeholder=Search actions, settings, and sessions…) · press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "deep link", replace) · notSee(label=/^Experimental engine/) · click(label=/^Developer/)
[probe] hash · eventually(Developer section route) · has("Arrow keys to navigate") · eventually(command palette finishes closing)
[probe:raw] [probe:raw] eval()
[probe] eventually(Developer is focused and in view)
[user] notSee(placeholder=Search actions, settings, and sessions…)
steps 1 ✅ the empty palette offers actions and settings without recents (7.4s) · 2 ✅ folders ranks Permissions first and Enter navigates there (4.7s) · 3 ✅ reopening the palette shows Permissions as the sole recent item (3.2s) · 4 ✅ dark mode ranks Appearance first and Enter navigates there (1.7s) · 5 ✅ > restricts the palette to actions (9.4s) · 6 ✅ Escape closes the palette without navigating (3.6s) · 7 ✅ developer mode surfaces Advanced sections without a search (8.8s) · 8 ✅ Command+K jumps directly to Organization server (7.9s) · 9 ✅ Command+K jumps directly to Runtime (8.1s) · 10 ✅ Command+K jumps directly to Agent access diagnostics (8.2s) · 11 ✅ Command+K jumps directly to OpenCode config sources (8.6s) · 12 ✅ Command+K jumps directly to Experimental engine (8.5s) · 13 ✅ Command+K jumps directly to Developer (7.9s)
verdict passed · 43 user observations (see ×18, notSee ×19, screenshot ×6) · 52 probes · steps 13/13

⚪ UNVALIDATED — 1. command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 1

⚪ UNVALIDATED — 2. command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 2

  • ⚪ UNVALIDATED — no visual expectations recorded.

command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 2

⚪ UNVALIDATED — 3. command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 3

  • ⚪ UNVALIDATED — no visual expectations recorded.

command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 3

⚪ UNVALIDATED — 4. command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 4

  • ⚪ UNVALIDATED — no visual expectations recorded.

command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 4

⚪ UNVALIDATED — 5. command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 5

  • ⚪ UNVALIDATED — no visual expectations recorded.

command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 5

⚪ UNVALIDATED — 6. command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 6

  • ⚪ UNVALIDATED — no visual expectations recorded.

command-palette-searches-settings-by-alias-navigates-records-recents-and-filters artifact 6


Test run created 2026-09-05T16:17:05.578Z · Source: evals/results/test-runs/2026-09-05T16-17-05-577Z-command-palette-searches-settings-by-alias-navigates-records-recents-and-filters/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4505 --test-run 2026-09-05T16-17-05-577Z-command-palette-searches-settings-by-alias-navigates-records-recents-and-filters

@benjaminshafii
benjaminshafii merged commit ee06ea1 into dev Sep 5, 2026
27 checks passed
yomgui added a commit that referenced this pull request Sep 11, 2026
…alette (#4722)

* fix(app): list every Advanced section in the developer-mode command palette

The empty-query settings preview was capped at 6, which matched the six
Advanced sections when #4505 put them first in developer mode. #4293 added
a seventh section (Workspace run mode), so Developer fell off the list.
Size the preview from ADVANCED_SETTINGS_SECTIONS instead.

* test(app): re-express palette settings expectations for Advanced section items

Both claims went stale when #4505 added per-section Advanced items: the id
list omitted them, and "reset" now surfaces Advanced › Organization server
(keyword "reset server") ahead of the Advanced tab. Red on origin/dev
before this change.

* test(evals): expect Workspace run mode in the developer-mode command palette

Tightens command-palette-search: the seventh Advanced section must be listed
without a search and reachable by its alias.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant