Skip to content

feat(desktop): settings search input (section-level filter)#3119

Open
HUQIANTAO wants to merge 1 commit into
esengine:main-v2from
HUQIANTAO:feat/settings-search
Open

feat(desktop): settings search input (section-level filter)#3119
HUQIANTAO wants to merge 1 commit into
esengine:main-v2from
HUQIANTAO:feat/settings-search

Conversation

@HUQIANTAO
Copy link
Copy Markdown
Contributor

The settings drawer has grown to six sections (Models / Permissions / Sandbox / Agent / Appearance / Updates). Finding a specific field meant scrolling the whole list. Add a search input below the drawer header that hides sections whose title doesn't match the query.

The match is section-level (case-insensitive substring). Per-field matching is a follow-up: it needs a section schema exporting its search text, which the section components don't yet expose.

When the query hides every section, an empty-state message names the query so the user knows the filter is the reason (not a broken config).

@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 4, 2026
The settings drawer has grown to six sections (Models / Permissions
/ Sandbox / Agent / Appearance / Updates). Finding a specific
field meant scrolling the whole list. Add a search input below
the drawer header that hides sections whose title doesn't match
the query.

The match is section-level (case-insensitive substring) — a query
of 'model' shows Models & Providers only; 'permiss' shows
Permissions only. Per-field matching (matching the placeholder
text inside a section) is a follow-up: it needs a section schema
exporting its search text, which the section components don't
yet expose. Section-level is enough to ship the affordance and
covers the common 'where is the X setting' path.

When the query hides every section, an empty-state message names
the query so the user knows the filter is the reason (not a
broken config). The input reuses the hist-search styles added in
PR-18, so the visual treatment is consistent across drawers.

i18n: en + zh both gain settings.searchPlaceholder and
settings.noSectionMatch (with a {q} placeholder for the literal
query).
@HUQIANTAO HUQIANTAO force-pushed the feat/settings-search branch from fa353c4 to 01fbb49 Compare June 5, 2026 01:44
@HUQIANTAO HUQIANTAO requested a review from SivanCola as a code owner June 5, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant