implement fuzzy search inside settings (#13864)

This commit is contained in:
Sehoon Shon
2025-12-02 18:52:56 -05:00
committed by GitHub
parent ed10edbf0d
commit 344f2f26e7
3 changed files with 441 additions and 126 deletions
@@ -3,7 +3,7 @@
exports[`SettingsDialog > Initial Rendering > should render settings list with visual indicators 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │
@@ -38,7 +38,7 @@ exports[`SettingsDialog > Initial Rendering > should render settings list with v
exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings enabled' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │
@@ -73,7 +73,7 @@ exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings
exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings disabled' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │
@@ -108,7 +108,7 @@ exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings d
exports[`SettingsDialog > Snapshot Tests > should render 'default state' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │
@@ -143,7 +143,7 @@ exports[`SettingsDialog > Snapshot Tests > should render 'default state' correct
exports[`SettingsDialog > Snapshot Tests > should render 'file filtering settings configured' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │
@@ -178,7 +178,7 @@ exports[`SettingsDialog > Snapshot Tests > should render 'file filtering setting
exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selector' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Settings
│ Settings (press / to search)
│ │
│ ▲ │
│ Preview Features (e.g., models) false │
@@ -213,7 +213,7 @@ exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selec
exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and number settings' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │
@@ -248,7 +248,7 @@ exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and numb
exports[`SettingsDialog > Snapshot Tests > should render 'tools and security settings' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │
@@ -283,7 +283,7 @@ exports[`SettingsDialog > Snapshot Tests > should render 'tools and security set
exports[`SettingsDialog > Snapshot Tests > should render 'various boolean settings enabled' correctly 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ > Settings
│ > Settings (press / to search)
│ │
│ ▲ │
│ ● Preview Features (e.g., models) false │