feat(ui): improve theme consistency and add diff panel shortcut

This commit is contained in:
Bohdan Triapitsyn
2025-12-19 16:48:25 +02:00
parent 22a10f020c
commit 0b091c6c15
13 changed files with 81 additions and 27 deletions
@@ -107,6 +107,13 @@ export const useKeyboardShortcuts = () => {
return;
}
if (e.ctrlKey && !e.metaKey && !e.shiftKey && e.key.toLowerCase() === 'e') {
e.preventDefault();
const { activeMainTab } = useUIStore.getState();
setActiveMainTab(activeMainTab === 'diff' ? 'chat' : 'diff');
return;
}
if (e.ctrlKey && !e.metaKey && !e.shiftKey && e.key.toLowerCase() === 't') {
e.preventDefault();
const { activeMainTab } = useUIStore.getState();