Commit 9103574
committed
Make sidebar worktrees opt-in and drop the inverse expansion set
With the section hidden until the user enables it in Settings →
Worktrees, expanded-by-default is the right behavior for those who
opted in. That removes the need for expandedWorktreeSections — the
inverse-polarity twin of collapsedSections — so the section now uses
the shared collapsedSections/toggleSection mechanism like every other
sidebar section.
Generated-By: PostHog Code
Task-Id: 24032eac-82cc-4c5f-a7e9-30ed9278a6e11 parent e18a42b commit 9103574
3 files changed
Lines changed: 7 additions & 32 deletions
File tree
- packages/ui/src/features
- settings
- sidebar
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 23 | + | |
| 24 | + | |
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
| |||
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
42 | | - | |
43 | | - | |
| 37 | + | |
| 38 | + | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
36 | | - | |
37 | 33 | | |
38 | 34 | | |
39 | 35 | | |
| |||
57 | 53 | | |
58 | 54 | | |
59 | 55 | | |
60 | | - | |
61 | 56 | | |
62 | 57 | | |
63 | 58 | | |
| |||
83 | 78 | | |
84 | 79 | | |
85 | 80 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 81 | | |
97 | 82 | | |
98 | 83 | | |
| |||
141 | 126 | | |
142 | 127 | | |
143 | 128 | | |
144 | | - | |
145 | 129 | | |
146 | 130 | | |
147 | 131 | | |
| |||
157 | 141 | | |
158 | 142 | | |
159 | 143 | | |
160 | | - | |
161 | 144 | | |
162 | 145 | | |
163 | 146 | | |
| |||
177 | 160 | | |
178 | 161 | | |
179 | 162 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | 163 | | |
184 | 164 | | |
185 | 165 | | |
| |||
0 commit comments