Replace hotkey scopes by focus stack (Part 3 - Record Board, Cards and Inline Cells) (#12910)
# Replace hotkey scopes by focus stack (Part 3 - Record Board, Cards and Inline Cells) This PR is the second part of a refactoring aiming to deprecate the hotkey scopes api in favor of the new focus stack api which is more robust. Part 1: https://github.com/twentyhq/twenty/pull/12673 Part 2: https://github.com/twentyhq/twenty/pull/12798 The board shortcuts are no longer centralized in the record board, they are now split and the focused element is in charge of applying the desired shortcuts. ## Video QA: https://github.com/user-attachments/assets/20ba4a24-6fc3-4a97-9cd3-68e846699e30
This commit is contained in:
@@ -2,9 +2,11 @@ export enum FocusComponentType {
|
||||
MODAL = 'modal',
|
||||
DROPDOWN = 'dropdown',
|
||||
SIDE_PANEL = 'side-panel',
|
||||
OPEN_FIELD_INPUT = 'open-field-input',
|
||||
OPENED_FIELD_INPUT = 'opened-field-input',
|
||||
PAGE = 'page',
|
||||
RECORD_TABLE = 'record-table',
|
||||
RECORD_TABLE_ROW = 'record-table-row',
|
||||
RECORD_TABLE_CELL = 'record-table-cell',
|
||||
RECORD_BOARD = 'record-board',
|
||||
RECORD_BOARD_CARD = 'record-board-card',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user