feat(settings): search settings from the header and the command palette (#1714)

* feat(settings): search settings from the header and the command palette

The header search on the Settings page was shown but disabled. It now
searches a shared index of all 56 settings rows by translated title,
description and English synonyms, replaces the section page with ranked
results, and opens a result by scrolling to, focusing and briefly
highlighting its row. Enter opens the best match, and the section
navigation shows per-section match counts.

The command palette gains a "Settings" group that lists the best six
matches for a non-empty query, so any setting is one Ctrl/Cmd+K away.
Rows hidden by the current form state fall back to the control that
reveals them; rows the runtime cannot render are never returned.

The index ships through a new @iptvnator/workspace/shell/util/settings-search
sub-entrypoint so it stays out of the eager bundle, and a registry spec
keeps it in step with the section templates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(settings): let search reveals win over pending input and gate embedded MPV rows

- A reveal (result click, command palette, Enter) now cancels a search
  keystroke still waiting for its debounce, so its q navigation can no
  longer supersede the reveal and leave the results open.
- Embedded MPV extra options and auto-reconnect require a lazily probed
  embedded MPV capability; frame copy also needs frameCopyAvailable, so
  search never offers a row the settings page cannot render.
- Keyboard users keep a focus-visible ring on the revealed row after the
  highlight fades.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(workspace): wait for palette probes without Promise.allSettled

The web tsconfig lib predates Promise.allSettled; use Promise.all over
rejection-safe probes instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: 4gray <fourgray@proton.me>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-09-27 07:42:53 +02:00
1 parent b87291e388
commit ea51cae3db
77 files changed
+3304 -316

No files matched your search

+7 -2
View File
@@ -264,6 +264,9 @@
"PORTAL_CONNECTIVITY_GUARD_DESCRIPTION": "Nach wiederholten Verbindungsfehlern neue Xtream- und Stalker-Anfragen 30 Sekunden pausieren. Bei zeitweise nicht erreichbaren Portalen versuchsweise deaktivieren. Gilt nach dem Speichern ohne Neustart.",
"PORTAL_CONNECTIVITY_GUARD_DISABLED": "Jede Anfrage wird unabhängig ausgeführt. Bei nicht erreichbaren Servern kann die Fehlermeldung länger dauern.",
"TITLE": "Einstellungen",
"SEARCH_RESULTS_TITLE": "Suchergebnisse",
"SEARCH_RESULTS_COUNT": "Einstellungen zu „{{query}}“: {{count}}",
"SEARCH_EMPTY_HINT": "Keine passenden Einstellungen. Ein anderes Wort versuchen, etwa Player, Design oder EPG.",
"GENERAL": "Allgemein",
"GENERAL_SUBTITLE": "Allgemeine App-Einstellungen ändern",
"PLAYBACK": "Wiedergabe",
@@ -1569,6 +1572,7 @@
"RAIL_CONTEXT_ACTIONS": "Abschnittsaktionen",
"SEARCH_LABEL": "Suche",
"SEARCH_SOURCES_PLACEHOLDER": "Quellen durchsuchen (alle Playlists)...",
"SEARCH_SETTINGS_PLACEHOLDER": "Einstellungen durchsuchen...",
"SEARCH_GLOBAL_PLACEHOLDER": "Alle Wiedergabelisten durchsuchen...",
"SEARCH_PLAYLIST_PLACEHOLDER": "In dieser Playlist suchen...",
"SEARCH_SECTION_PLACEHOLDER": "In diesem Abschnitt suchen...",
@@ -1722,14 +1726,15 @@
"COMMAND_PALETTE": {
"TITLE": "Befehlspalette",
"SUBTITLE": "Globale und kontextbezogene Aktionen",
"SEARCH_PLACEHOLDER": "Zum Filtern der Befehle tippen",
"SEARCH_PLACEHOLDER": "Befehle und Einstellungen durchsuchen",
"SEARCH_LABEL": "Befehle filtern",
"EMPTY": "Keine Befehle gefunden",
"GROUP_GLOBAL": "Globale Aktionen",
"GROUP_PLAYLIST": "Diese Playlist",
"GROUP_VIEW": "Aktuelle Ansicht",
"GROUP_SECTION": "Dieser Abschnitt",
"GROUP_RECENT": "Kürzlich verwendet"
"GROUP_RECENT": "Kürzlich verwendet",
"GROUP_SETTINGS": "Einstellungen"
},
"SHORTCUTS": {
"TITLE": "Tastenkürzel",