feat(settings): replace TextInputV2 with TextInput and update hotkey … (#12236)

…scope

Replaced TextInputV2 with TextInput in
SettingsSecurityApprovedAccessDomain for consistency with the input
component. Added a new hotkey scope for the REST Playground page in
PageChangeEffect to enable keyboard shortcut menu functionality.

Fix #10981
This commit is contained in:
Antoine Moreaux
2025-05-23 11:03:31 +02:00
committed by GitHub
parent ac98ecf3fc
commit 710c859f4e
2 changed files with 16 additions and 6 deletions

View File

@ -223,6 +223,17 @@ export const PageChangeEffect = () => {
});
break;
}
case isMatchingLocation(
location,
SettingsPath.RestPlayground,
AppBasePath.Settings,
): {
setHotkeyScope(PageHotkeyScope.Settings, {
goto: false,
keyboardShortcutMenu: true,
});
break;
}
case isMatchingLocation(
location,
SettingsPath.WorkspaceMembersPage,