ui: restore Ctrl+B sidebar toggle shortcut (#25307)

This commit is contained in:
Pascal
2026-07-06 10:30:07 +02:00
committed by GitHub
parent 48719618e8
commit d80e878501
3 changed files with 11 additions and 1 deletions
@@ -27,7 +27,10 @@
let { onSearchClick = () => {} }: Props = $props();
const { handleKeydown } = useKeyboardShortcuts({ activateSearchMode: () => onSearchClick() });
const { handleKeydown } = useKeyboardShortcuts({
activateSearchMode: () => onSearchClick(),
toggleSidebar: () => toggleExpandedMode()
});
let isExpandedMode = $state(false);
let hoveredTooltip = $state<string | null>(null);