Preserve preview and advance selection on thread deletion and triage #86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pr/sse-reactive-selection-advance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
SearchPanel._advance_selectionto immediately advance cursor selection to the adjacent thread (next row or previous if on the last row). If the preview pane is open, it immediately opens the newly selected thread.SearchPanel.update_thread, restored selection explicitly bythread_idwhen rows are removed or modified, preventing Qt index reuse stalls wherecurrentChangedwould not fire.ThreadPanel.refreshandThreadPanel.update_thread, if a thread is emptied or trashed, check if the current active list still has remaining threads and transition to the current thread instead of tearing down the preview pane container.tests/test_actions.pyfor forward cursor advancement, end-of-list reversal, and preview preservation.Test Plan
~/.local/share/pipx/venvs/lazarus-mail/bin/pytest(all 522 tests pass).d/a. Verify the preview advances smoothly to the adjacent thread without collapsing the preview container.