mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat(sessions): switch between sessions and projects in the session picker
Add a Sessions | Projects tab switcher to the session picker header, a Projects tab listing navigable projects with search by name or branch and keyboard navigation, and a configurable switchPickerTab direct shortcut (default Ctrl+S) shown in the footer hint and Settings.
This commit is contained in:
1 parent
59ffe6c586
commit
18102a3ce8
6 files changed
+459
-21
No files matched your search
@@ -76,6 +76,7 @@ export const DEFAULT_KEYBOARD_SHORTCUTS = {
|
||||
fork: '',
|
||||
settings: '',
|
||||
sessions: 'L',
|
||||
switchPickerTab: 'Ctrl+S',
|
||||
newSession: 'N',
|
||||
closeSession: 'W',
|
||||
toggleSidebar: 'B',
|
||||
@@ -92,7 +93,7 @@ export const DEFAULT_KEYBOARD_SHORTCUTS = {
|
||||
|
||||
export type KeyboardShortcutAction = keyof typeof DEFAULT_KEYBOARD_SHORTCUTS;
|
||||
|
||||
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'toggleMode', 'variantCycle', 'favoriteCycle', 'halfPageUp', 'halfPageDown'];
|
||||
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'toggleMode', 'variantCycle', 'favoriteCycle', 'halfPageUp', 'halfPageDown', 'switchPickerTab'];
|
||||
|
||||
export const GitCredentialSchema = z.object({
|
||||
id: z.string().optional(),
|
||||
|
||||
Reference in new issue
Block a user