Commit 3a8dc62
feat: force pin listening tab with fixed left section (#2890)
* feat: force pin listening tab and stop on close
- Auto-pin session tab when listening starts
- Allow closing active listening tabs (removed canClose restriction)
- Stop listening and trigger auto-enhance when closing an active session tab
Co-Authored-By: [email protected] <[email protected]>
* feat: move listening tab to fixed section on far left
- Listening tab is now rendered in a separate fixed section before navigation buttons
- Tab is always visible when actively listening
- Filtered out from the regular reorderable tab group
Co-Authored-By: [email protected] <[email protected]>
* Move pinned listening tab next to navigation buttons
Place the pinned listening tab (listeningTab TabItem) to the left of the back/forward navigation buttons so the <- and -> controls appear on the left of the pinned listening tab. This reorders the JSX so the listening tab is rendered immediately after the navigation button group, achieving the requested UI placement change.
* refactor(tabs): optimize tabs state management
* refactor(tabs): optimize scroll state and active tab handling
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: John Jeong <[email protected]>1 parent ce765d9 commit 3a8dc62
File tree
2 files changed
+94
-20
lines changed- apps/desktop/src
- components/main/body
- routes/app/main
2 files changed
+94
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
108 | 122 | | |
109 | 123 | | |
110 | 124 | | |
111 | 125 | | |
112 | 126 | | |
113 | 127 | | |
114 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
115 | 132 | | |
116 | | - | |
| 133 | + | |
117 | 134 | | |
118 | 135 | | |
119 | 136 | | |
| |||
158 | 175 | | |
159 | 176 | | |
160 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
161 | 193 | | |
162 | 194 | | |
163 | 195 | | |
| |||
171 | 203 | | |
172 | 204 | | |
173 | 205 | | |
174 | | - | |
| 206 | + | |
175 | 207 | | |
176 | 208 | | |
177 | 209 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
182 | 223 | | |
183 | 224 | | |
184 | 225 | | |
| |||
566 | 607 | | |
567 | 608 | | |
568 | 609 | | |
569 | | - | |
| 610 | + | |
570 | 611 | | |
571 | 612 | | |
572 | 613 | | |
| |||
578 | 619 | | |
579 | 620 | | |
580 | 621 | | |
581 | | - | |
| 622 | + | |
582 | 623 | | |
583 | 624 | | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
584 | 631 | | |
585 | 632 | | |
586 | 633 | | |
| |||
599 | 646 | | |
600 | 647 | | |
601 | 648 | | |
602 | | - | |
| 649 | + | |
603 | 650 | | |
604 | 651 | | |
605 | 652 | | |
606 | 653 | | |
607 | 654 | | |
608 | 655 | | |
| 656 | + | |
| 657 | + | |
609 | 658 | | |
610 | 659 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
| 660 | + | |
| 661 | + | |
615 | 662 | | |
616 | 663 | | |
617 | 664 | | |
| |||
620 | 667 | | |
621 | 668 | | |
622 | 669 | | |
623 | | - | |
| 670 | + | |
624 | 671 | | |
625 | 672 | | |
626 | 673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
51 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
52 | 73 | | |
53 | | - | |
| 74 | + | |
54 | 75 | | |
55 | 76 | | |
56 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
57 | 80 | | |
58 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
59 | 86 | | |
60 | 87 | | |
61 | 88 | | |
| |||
0 commit comments