Repository navigation
Commit d7dc4e8
committed
refactor(mobile): retire the legacy grouped thread list
The flat Thread List v2 has been the default on every app variant for a
while; the grouped v1 list survived only behind the Settings -> Legacy
toggle. Keeping two list pipelines meant two row components, two item
builders, and a parallel set of sort/group menu states that v2 silently
ignored. This deletes the v1 path outright.
- HomeScreen and ThreadNavigationSidebar lose the v1 memo pipeline
(groups, layout, group display state) and the `threadListV2Enabled`
ternaries; only the v2 LegendList remains.
- Delete `thread-list-items.tsx` (v1 rows), `homeListItems.ts` (v1 item
builder), the v1 group builder in `homeThreadList.ts`, and the
`use-thread-list-v2-enabled` hook plus `resolveThreadListV2Enabled`.
- Drop the `legacyThreadListEnabled` preference (sanitizing now drops it
for everyone, like the earlier v2 flag reset) and the Settings toggle.
The Legacy settings section stays for Plan Mode.
- Header filter menus keep environment/project filters only; the
sort/group submenus were already hidden while v2 was on, and v2 has
never honored them. `threadSortOrder` menu plumbing is removed;
project sort/grouping preferences remain and keep ordering project
scopes.
- Keyboard thread-jump items are now just the v2 item union.1 parent 544145f commit d7dc4e8
21 files changed
Lines changed: 45 additions & 3030 deletions
File tree
- apps/mobile/src
- features
- home
- keyboard
- settings
- threads
- persistence
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 5 | | |
12 | 6 | | |
13 | 7 | | |
| |||
17 | 11 | | |
18 | 12 | | |
19 | 13 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
27 | 19 | | |
28 | 20 | | |
29 | 21 | | |
| |||
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 57 | | |
88 | 58 | | |
89 | 59 | | |
90 | | - | |
91 | 60 | | |
92 | 61 | | |
93 | 62 | | |
94 | | - | |
95 | | - | |
96 | 63 | | |
97 | 64 | | |
98 | 65 | | |
| |||
127 | 94 | | |
128 | 95 | | |
129 | 96 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 97 | | |
144 | 98 | | |
145 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
32 | 24 | | |
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 29 | + | |
41 | 30 | | |
42 | 31 | | |
43 | 32 | | |
| |||
100 | 89 | | |
101 | 90 | | |
102 | 91 | | |
103 | | - | |
| 92 | + | |
104 | 93 | | |
105 | 94 | | |
106 | 95 | | |
| |||
150 | 139 | | |
151 | 140 | | |
152 | 141 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | 142 | | |
184 | 143 | | |
185 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | | - | |
22 | | - | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
175 | 173 | | |
176 | 174 | | |
177 | 175 | | |
178 | | - | |
179 | | - | |
180 | 176 | | |
181 | 177 | | |
182 | 178 | | |
| |||
191 | 187 | | |
192 | 188 | | |
193 | 189 | | |
194 | | - | |
195 | 190 | | |
196 | 191 | | |
197 | | - | |
198 | 192 | | |
199 | 193 | | |
200 | 194 | | |
| |||
225 | 219 | | |
226 | 220 | | |
227 | 221 | | |
228 | | - | |
229 | 222 | | |
230 | 223 | | |
231 | 224 | | |
| |||
252 | 245 | | |
253 | 246 | | |
254 | 247 | | |
255 | | - | |
256 | 248 | | |
257 | 249 | | |
258 | 250 | | |
| |||
262 | 254 | | |
263 | 255 | | |
264 | 256 | | |
265 | | - | |
266 | 257 | | |
267 | 258 | | |
268 | 259 | | |
| |||
0 commit comments