feat(ui): add "Esc to close" hint to SettingsDialog (#11289)

Co-authored-by: Miguel Solorio <miguelsolorio@google.com>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
JAYADITYA
2025-10-17 04:52:14 +05:30
committed by GitHub
parent 991bd37362
commit a440333990
3 changed files with 16 additions and 14 deletions
@@ -30,7 +30,7 @@ exports[`SettingsDialog > Snapshot Tests > should render default state correctly
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -65,7 +65,7 @@ exports[`SettingsDialog > Snapshot Tests > should render focused on scope select
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -100,7 +100,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with accessibility sett
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -135,7 +135,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with all boolean settin
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -170,7 +170,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with different scope se
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -205,7 +205,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with different scope se
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -240,7 +240,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with file filtering set
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -275,7 +275,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with mixed boolean and
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -310,7 +310,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with tools and security
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;
@@ -345,7 +345,7 @@ exports[`SettingsDialog > Snapshot Tests > should render with various boolean se
│ Workspace Settings │
│ System Settings │
│ │
│ (Use Enter to select, Tab to change focus)
│ (Use Enter to select, Tab to change focus, Esc to close)
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯"
`;