Commit 2173da2
Eric Wheeler
feat: Respect parent's bulk-expanded state for new child tasks recursively
When a new child task (or any of its descendants) is added to the
history view, its initial expansion state will now correctly respect
the 'bulk-expanded' status of its parent or any higher ancestor.
If an ancestor is bulk-expanded, the new task and its own children
will also be expanded automatically. This ensures a consistent and
intuitive user experience when navigating hierarchical task histories,
particularly when new sub-tasks are created under an already expanded
parent tree.
Signed-off-by: Eric Wheeler <[email protected]>1 parent 8942282 commit 2173da2
1 file changed
+35
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 152 | + | |
| 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 | + | |
| 184 | + | |
159 | 185 | | |
160 | 186 | | |
161 | | - | |
| 187 | + | |
162 | 188 | | |
163 | 189 | | |
164 | 190 | | |
165 | 191 | | |
166 | | - | |
| 192 | + | |
167 | 193 | | |
168 | 194 | | |
169 | 195 | | |
| |||
0 commit comments