Skip to content

settings_ui: Allow changing settings scope inside sub-pages - #58698

Merged
MartinYe1234 merged 4 commits into
mainfrom
martin/ai-343-allow-changing-settings-scope-inside-subpages
Jun 5, 2026
Merged

settings_ui: Allow changing settings scope inside sub-pages#58698
MartinYe1234 merged 4 commits into
mainfrom
martin/ai-343-allow-changing-settings-scope-inside-subpages

Conversation

@MartinYe1234

Copy link
Copy Markdown
Contributor

The settings UI previously required selecting a settings scope (User / project) before entering a sub-page; the scope picker disappeared once inside. This makes the scope switchable from within sub-pages.

  • The scope segment of the sub-page breadcrumb (e.g. "User / AI / Agent Configuration / Skills") is now a dropdown listing all scopes the sub-page supports (filtered by the sub-page's file mask, intersected across the sub-page stack). Selecting a scope re-renders the sub-page in place — e.g. the Skills page swaps between global and project-local skills.
  • The sub-page stack is preserved across scope changes when every sub-page in it is valid in the new scope; otherwise it falls back to the regular navigation behavior.
  • Sub-pages that only support one scope (Tool Permissions, Configure Providers, Feature Flags) keep the static label.
  • Entering a sub-page now clears the settings search bar so sub-pages show all their items (settings deep links that prefill the search are unaffected).

Closes AI-343

Release Notes:

  • Improved the settings window: sub-pages such as Skills and per-language settings now have a scope picker in the breadcrumb, so you can switch between User and project settings without leaving the page.

Make the scope segment of sub-page breadcrumbs a dropdown picker so the
settings file can be switched without leaving the sub-page (e.g. Skills
or per-language pages), preserving the sub-page stack when valid in the
new scope. Also clear the search bar when entering a sub-page, except
when following a settings deep link.
@MartinYe1234 MartinYe1234 self-assigned this Jun 5, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 5, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 5, 2026
@MartinYe1234
MartinYe1234 marked this pull request as ready for review June 5, 2026 20:18
MartinYe1234 and others added 3 commits June 5, 2026 13:39
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
@MartinYe1234
MartinYe1234 added this pull request to the merge queue Jun 5, 2026
Merged via the queue into main with commit 104d6e4 Jun 5, 2026
32 checks passed
@MartinYe1234
MartinYe1234 deleted the martin/ai-343-allow-changing-settings-scope-inside-subpages branch June 5, 2026 21:15
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 8, 2026
…stries#58698)

The settings UI previously required selecting a settings scope (User /
project) before entering a sub-page; the scope picker disappeared once
inside. This makes the scope switchable from within sub-pages.

- The scope segment of the sub-page breadcrumb (e.g. "User / AI / Agent
Configuration / Skills") is now a dropdown listing all scopes the
sub-page supports (filtered by the sub-page's file mask, intersected
across the sub-page stack). Selecting a scope re-renders the sub-page in
place — e.g. the Skills page swaps between global and project-local
skills.
- The sub-page stack is preserved across scope changes when every
sub-page in it is valid in the new scope; otherwise it falls back to the
regular navigation behavior.
- Sub-pages that only support one scope (Tool Permissions, Configure
Providers, Feature Flags) keep the static label.
- Entering a sub-page now clears the settings search bar so sub-pages
show all their items (settings deep links that prefill the search are
unaffected).

Closes AI-343

Release Notes:

- Improved the settings window: sub-pages such as Skills and
per-language settings now have a scope picker in the breadcrumb, so you
can switch between User and project settings without leaving the page.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…stries#58698)

The settings UI previously required selecting a settings scope (User /
project) before entering a sub-page; the scope picker disappeared once
inside. This makes the scope switchable from within sub-pages.

- The scope segment of the sub-page breadcrumb (e.g. "User / AI / Agent
Configuration / Skills") is now a dropdown listing all scopes the
sub-page supports (filtered by the sub-page's file mask, intersected
across the sub-page stack). Selecting a scope re-renders the sub-page in
place — e.g. the Skills page swaps between global and project-local
skills.
- The sub-page stack is preserved across scope changes when every
sub-page in it is valid in the new scope; otherwise it falls back to the
regular navigation behavior.
- Sub-pages that only support one scope (Tool Permissions, Configure
Providers, Feature Flags) keep the static label.
- Entering a sub-page now clears the settings search bar so sub-pages
show all their items (settings deep links that prefill the search are
unaffected).

Closes AI-343

Release Notes:

- Improved the settings window: sub-pages such as Skills and
per-language settings now have a scope picker in the breadcrumb, so you
can switch between User and project settings without leaving the page.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants