Commit 7facb6d
authored
Make Ask Omi shortcut toggle AI conversation open/close (#5403)
## Summary
- Remove Cmd+\ global shortcut (no longer hides/shows floating bar)
- Ask Omi shortcut now toggles: press once to open AI input, press again
to collapse back to pill
- Works globally without requiring window focus (unlike Esc)
## Test plan
- [ ] Press Ask Omi shortcut → AI input opens
- [ ] Press Ask Omi shortcut again → collapses to pill
- [ ] Press Ask Omi shortcut when bar is hidden → shows bar and opens AI
input
- [ ] Verify Cmd+\ no longer does anything
🤖 Generated with [Claude Code](https://claude.com/claude-code)File tree
3 files changed
+16
-30
lines changed- desktop/Desktop/Sources
- FloatingControlBar
3 files changed
+16
-30
lines changedLines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
851 | | - | |
852 | 851 | | |
853 | 852 | | |
854 | 853 | | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
| 854 | + | |
| 855 | + | |
859 | 856 | | |
860 | 857 | | |
861 | 858 | | |
862 | 859 | | |
863 | 860 | | |
864 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
865 | 872 | | |
866 | 873 | | |
867 | 874 | | |
| |||
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | | - | |
48 | | - | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
| |||
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 92 | | |
100 | 93 | | |
101 | 94 | | |
102 | | - | |
| 95 | + | |
103 | 96 | | |
104 | 97 | | |
105 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| |||
334 | 333 | | |
335 | 334 | | |
336 | 335 | | |
337 | | - | |
| 336 | + | |
338 | 337 | | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | 338 | | |
349 | 339 | | |
350 | 340 | | |
| |||
549 | 539 | | |
550 | 540 | | |
551 | 541 | | |
552 | | - | |
| 542 | + | |
553 | 543 | | |
554 | 544 | | |
555 | 545 | | |
| |||
921 | 911 | | |
922 | 912 | | |
923 | 913 | | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
| 914 | + | |
929 | 915 | | |
930 | 916 | | |
931 | 917 | | |
| |||
0 commit comments