Extend admin settings search to match sub-card titles and toggle names
メンテナーはふだん 1 日以内に返信
@paullizer がすでに取り組んでいます。
2026年8月24日 から。
評価
この issue はまだ評価されていません。
説明
Summary
The admin settings search (the magnifying glass in the admin sidebar) only matches navigation labels today. Extend it so it also matches the titles of sub-cards inside each tab and the names of individual toggles/switches, so admins can find a specific setting by the name they actually see on the settings surface.
User Value
Admins usually know the name of the setting they want (for example a specific toggle), not the nav group or tab it lives under. Today searching for that name returns "No settings found", so the admin has to click through tabs and scan cards manually. Matching card titles and toggle names makes the search work the way admins expect and cuts the time to locate a setting across a large admin surface.
Proposed Behavior
- Search continues to match nav group labels, tab labels, and section labels as it does now.
- Search additionally matches sub-card titles rendered inside each admin tab.
- Search additionally matches toggle/switch labels (the visible setting names).
- A match on a card title or a toggle name surfaces the owning tab (and section, where one exists) in the sidebar, revealing and expanding its group so the match is never hidden behind a collapsed group.
- Matched entries are highlighted using the existing search highlight treatment.
- Clearing or closing the search restores the normal browsing state, exactly as it does now.
- The existing "No settings found for ..." message only appears when nothing matches across all searched text.
Acceptance Criteria
- Searching a sub-card title surfaces and highlights the tab/section that contains that card.
- Searching a toggle name surfaces and highlights the tab/section that contains that toggle.
- Existing group/tab/section matching behavior is unchanged.
- Matches inside collapsed groups are revealed rather than left hidden.
- Clearing the search restores persisted group expansion and removes all highlights.
- "No settings found" only shows when there are genuinely no matches.
- Functional test added under
functional_tests/covering card-title and toggle-name matching. - Admin documentation updated if the search behavior is described there.
Notes
Relevant implementation context:
- Search logic lives in
application/single_app/static/js/admin/admin_sidebar_nav.js, primarilyfilterAdminSections(),showAllAdminSections(), andclearAdminSearch(). filterAdminSections()currently reads only.admin-nav-group,.admin-nav-tab, and.admin-nav-sectionlabel text, so card and toggle text is never considered.- Admin tab content lives in
application/single_app/templates/admin_settings.html, where cards use Bootstrapcard-headermarkup and toggles useform-check-labelelements. - Card titles and toggle labels are in the tab panes rather than the sidebar, so this likely needs an index built from the settings content mapped back to the owning tab/section, rather than extending the existing sidebar-only text scan.
- Any new browser JavaScript must be served from a local SimpleChat static asset per the repo's local browser assets rule.
- 主要言語
- Python
- スター
- 157
- フォーク
- 117
- 平均マージ
- 4時間 19分
- マージ済み PR(30日)
- 200
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/simplechat のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoft/simplechat#1491 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoft/simplechat#1370 ·
メンテナーはふだん 1 日以内に返信
-
V2: triage multi-turn UI failures and make saved-memory orchestration validation reliable対応中かも @paullizer が今日担当しました。 オープンbug P1
microsoft/simplechat#1785 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Hyphenated action names fail Semantic Kernel loading silently; add permission-aware recovery in both chat UIs対応中かも @paullizer が 1 日前に担当しました。 オープンbug enhancement P1
microsoft/simplechat#1781 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
V2 workspace documents: fix public source discovery and verify metadata-analysis parity across scopes対応中かも @paullizer が 1 日前に担当しました。 オープンbug P1
microsoft/simplechat#1778 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
microsoft/simplechat の issue をすべて見る
似ている issue
-
Edit tool converts CRLF files to LF対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
huggingface/tau#774 ·
メンテナーはふだん 1 日以内に返信
-
show ignores the row limit when a column or table name contains "limit"対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
eclipse-score/inc_someip_gateway#356 ·
メンテナーはふだん 2 日以内に返信