mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
MAESTRO: Add unified tab navigation for Cmd+1-9 shortcuts
Update keyboard shortcuts to navigate through unified tab order (both AI and file tabs) instead of just AI tabs: - Add navigateToUnifiedTabByIndex() for Cmd+1-9 tab jumping - Add navigateToLastUnifiedTab() for Cmd+0 (last tab) - Functions handle AI tabs (clear activeFileTabId) and file tabs (preserve activeTabId for easy switching back) - Update useMainKeyboardHandler to use new unified functions - Add comprehensive test coverage (18 new tests)
This commit is contained in:
@@ -172,6 +172,8 @@ import {
|
||||
navigateToPrevTab,
|
||||
navigateToTabByIndex,
|
||||
navigateToLastTab,
|
||||
navigateToUnifiedTabByIndex,
|
||||
navigateToLastUnifiedTab,
|
||||
getInitialRenameValue,
|
||||
hasActiveWizard,
|
||||
} from './utils/tabHelpers';
|
||||
@@ -12609,6 +12611,8 @@ You are taking over this conversation. Based on the context above, provide a bri
|
||||
navigateToPrevTab,
|
||||
navigateToTabByIndex,
|
||||
navigateToLastTab,
|
||||
navigateToUnifiedTabByIndex,
|
||||
navigateToLastUnifiedTab,
|
||||
setFileTreeFilterOpen,
|
||||
isShortcut,
|
||||
isTabShortcut,
|
||||
|
||||
Reference in New Issue
Block a user