Repository navigation
feat(palette): find individual settings and open the page at them - #7415
Open
reachjalil wants to merge 1 commit into
Open
reachjalil wants to merge 1 commit into
reachjalil wants to merge 1 commit into
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Cmd/Ctrl+K knew settings pages and Advanced sections, not the settings
inside a page: "language", "notifications" or "show workspace run mode"
found nothing. Computer use and Devices were missing although the settings
sidebar lists them, and items that only shared scattered letters with the
query ("devices" finding MCP servers) buried or replaced real matches.
- Index 18 settings across Preferences, Appearance, Updates and Advanced
(settings-search-index.ts), offered only on the systems that show them.
- A result opens /settings/<tab>/<anchor>: the row scrolls into view,
takes focus and is outlined briefly (LayoutSectionItem anchor,
useRevealSetting). The anchor survives the redirect that adds the
workspace to the path.
- List the same pages as the settings sidebar, including Computer use on
desktop and Devices.
- Items that contain every typed word win. Matching letters in order only
applies when nothing contains the words, so typos still find something.
Separators in a pasted menu path are read as spaces.
- The Advanced engine section is listed under its page heading,
"OpenCode engine".
No feature flag: every setting was already reachable; this makes the
existing search find it.
Signed-off-by: Jalil <reachjalil@gmail.com>
reachjalil
force-pushed
the
feat/palette-finds-individual-settings
branch
from
November 14, 2026 01:01
d32f779 to
4bd2c5a
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this about?
The command palette (Cmd/Ctrl+K) now finds individual settings, not only settings pages, and opens the page at the setting you picked.
What problem does it solve?
Someone who knows the name of one option had to guess its page and scan it. Long pages such as Advanced make that slow.
What was the situation before?
Searching "show workspace run mode", "language" or "notifications" found nothing. Computer use and Devices were not listed. "devices" returned MCP servers and "keep awake" returned Updates.
How is this implemented?
settings-search-index.tslists 18 settings across Preferences, Appearance, Updates and Advanced, offered only on the systems that show them./settings/<tab>/<anchor>.LayoutSectionItem anchormarks the row;useRevealSettingscrolls it into view, focuses it and outlines it briefly.buildCommandPaletteSettingsItemslists the same pages as the settings sidebar.rankPaletteItems: items that contain every typed word win. Matching letters in order applies only when nothing contains the words, so typos still work. Separators in a pasted menu path count as spaces.What else changed?
Release note
Cmd/Ctrl+K finds individual settings such as Theme, Language or Keep awake, and opens the page at them.
Evidence
No E2E;
apps/app/tests/command-palette-settings-search.test.tsand typecheck. Before: "show workspace run mode" finds nothing; after: one result, which opens Advanced at that setting.Design: S6, V6