refactor(command-menu-item): rename Actions to CommandMenuItem (#18489)
actions are being renamed to command menu item, they will be migrated to server and will be served as headless front components --------- Co-authored-by: Raphaël Bosi <71827178+bosiraphael@users.noreply.github.com>
This commit is contained in:
+1
@@ -3,6 +3,7 @@ import { isNonTextWritingKey } from '@/ui/utilities/hotkey/utils/isNonTextWritin
|
||||
describe('isNonTextWritingKey', () => {
|
||||
it('should determine non-text-writing keys', () => {
|
||||
expect(isNonTextWritingKey('Tab')).toBe(true);
|
||||
expect(isNonTextWritingKey('ContextMenu')).toBe(true);
|
||||
expect(isNonTextWritingKey('a')).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -35,7 +35,7 @@ export const isNonTextWritingKey = (key: string) => {
|
||||
'Delete',
|
||||
'End',
|
||||
'PageDown',
|
||||
'ActionMenuDropdown',
|
||||
'ContextMenu',
|
||||
'PrintScreen',
|
||||
'BrowserBack',
|
||||
'BrowserForward',
|
||||
|
||||
Reference in New Issue
Block a user