Repository navigation
Hide stale unread navigation after the final message is read - #735
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge decision: ready — the unread navigation button now disappears after the final confirmed read, including when older history remains paginated.
User outcome
Fix the stale “Jump to first unread” control reported in native task
#V#task_agent_6baa72d330157297645b6bdd68d1b480. The pane retained its opening catalogue count after read acknowledgements, leaving the button visible despite no unread tile decoration.Material changes
Reduce the pane's unread count after confirmed acknowledgements and reconcile it with fresh catalogue rows. Bind reconciliation to the selected exchange and read revision; ignore refreshes overlapping reads to avoid stale restoration or double subtraction. Missing catalogue rows do not imply zero unread. Existing loaded unread markers and older-page navigation remain available.
Evidence
.run/unread-navigation/result.json,zero-unread-390.png,zero-unread-1280.png; baseline failure:.run/unread-baseline/failure.txt.#V#computer_file_copy_2279e69a5de54918a1feca54a8dbf97c, SHA-2567e6104998aa22f6d9031ea3da39ff6b6d66e9b26b4bd4cbdd15038774835a819(inspected staged bytes).Ship boundary
Tier 1 bounded frontend fix. Browser evidence uses synthetic APIs, not live authentication or production read writes. No backend, schema or infrastructure changes. The controller will deploy the verified merged origin/main revision under the task's explicit deployment request; this PR does not claim deployment has occurred.