[PATCH b4 0/4] review: keep the unread badge alive for applied series
Christian Brauner <[email protected]> Tue, 21 Jul 2026 22:21:00 +0200
| Newsgroups | org.kernel.linux.tools |
|---|---|
| Message-ID | <20260721-work-b4-accepted-unread-badge-v1-0-28581acc4988@kernel.org> |
Pressing 'u' on a tracked series fetches the whole thread no matter its status, but update_series_tracking() refused to refresh message_count for accepted/thanked/snoozed series. Since the unread badge is message_count - seen_message_count, new follow-up mail on an applied series never showed up in the tracking TUI. The status filter predates folding the count update into the main update loop, back when each count check cost extra lore round-trips per series. Today the thread is already in hand, so the filter only hides mail. Signed-off-by: Christian Brauner (Amutable) <[email protected]> --- Christian Brauner (4): review: keep refreshing message counts after a series is applied review: test the applied-series message-count refresh review: drop tests for the batch message-count updater review: drop the unused batch message-count updater src/b4/review/_review.py | 9 +- src/b4/review/tracking.py | 209 ------------------- src/tests/test_review_tracking.py | 417 ++++++++------------------------------ 3 files changed, 86 insertions(+), 549 deletions(-) --- base-commit: 4217c3e5d3e1eb259626142fd71b91ec6d5e3d1e change-id: 20260721-work-b4-accepted-unread-badge-acb2b34554eb