Extend admin settings search to match sub-card titles and toggle names
I maintainer di solito rispondono entro 1 giorno
@paullizer ci sta già lavorando.
Dal 24/8/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 155
- Fork
- 116
- Merge medio
- 5h 3m
- PR unite (30g)
- 206
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/simplechat
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
microsoft/simplechat#1491 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
microsoft/simplechat#1370 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
microsoft/simplechat#1770 ·
I maintainer di solito rispondono entro 1 giorno
-
Harden deployer private networking and add optional AMPLS for Commercial and GovernmentForse già presa @paullizer l’ha presa 2 giorni fa. Apertabug enhancement P1 security_improvement
microsoft/simplechat#1765 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
V2 bootstrap takes ~5s: optimize /api/v2/bootstrap backend and first paintForse già presa @paullizer l’ha presa 8 giorni fa. Apertaenhancement P1 python
microsoft/simplechat#1725 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/simplechat
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
EchoTools/nevr-runtime#651 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend rt sev-3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
noontide-co/mainbranch#1211 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersApertatriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
dbt-labs/dbt#16784 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno