Commit 8b4b361
committed
Preserve selection within active search after deletion
When deleting the active session while a search filter is applied, select the
next visible item from the filtered result (if any) before falling back to the
first valid session. This keeps user context consistent during search and
prevents unexpected jumps to unrelated conversations1 parent d9210e6 commit 8b4b361
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
326 | 352 | | |
327 | 353 | | |
328 | 354 | | |
| |||
0 commit comments