Fixed (#11482)
This PR fixes many small bugs around the recent hotkey scope refactor. - Removed unused ActionBar files - Created components CommandMenuOpenContainer and KeyboardShortcutMenuOpenContent to avoid mounting listeners when not needed - Added DEFAULT_CELL_SCOPE where missing in some field inputs - Called setHotkeyScopeAndMemorizePreviousScope instead of setHotkeyScope in new useOpenFieldInputEditMode hook - Broke down RecordTableBodyUnselectEffect into multiple simpler effect components that are mounted only when needed to avoid listening for keyboard and clickoutside event - Re-implemented recently deleted table cell soft focus component logic into RecordTableCellDisplayMode - Created component selector isAtLeastOneTableRowSelectedSelector - Drill down hotkey scope when opening a dropdown - Improved debug logs
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
import { getActionBarIdFromActionMenuId } from '@/action-menu/utils/getActionBarIdFromActionMenuId';
|
||||
|
||||
describe('getActionBarIdFromActionMenuId', () => {
|
||||
it('should return the correct action bar id', () => {
|
||||
expect(getActionBarIdFromActionMenuId('action-menu-id')).toBe(
|
||||
'action-bar-action-menu-id',
|
||||
);
|
||||
});
|
||||
});
|
||||
@ -1,3 +0,0 @@
|
||||
export const getActionBarIdFromActionMenuId = (actionMenuId: string) => {
|
||||
return `action-bar-${actionMenuId}`;
|
||||
};
|
||||
Reference in New Issue
Block a user