Skip to content

Keep the Hub Inbox badge accurate across navigation and request failures #354

Done

Description

@arniebradfo

The sidebar stays mounted across signed-in pages in #346. That preserves the Inbox badge during navigation, but also lets the count get stale:

  • Start with unread notifications, open Inbox, and let its list request fail. The badge drops to zero. Leaving Inbox after the API recovers does not trigger a recount. A failed sidebar Inbox preview can also clear the badge.
  • Receive a new notification while browsing Hub, then move between signed-in pages without opening Inbox. The badge can still show the old count.

Keep the last known count when a request fails, and give the badge a way to refresh in the background without opening Inbox or reloading Hub. Keep the sidebar mounted and avoid flashing a zero while refreshing.

Follow-up to #346. This does not change how notifications are delivered or marked read.

Activity

  1. arniebradfo commented on Nov 25, 2026

    @arniebradfo
    CollaboratorAuthor

    Completed by #361, merged into build/hub/new. The sidebar now refreshes an unread dot during navigation and retains the last known state if the lookup fails or stalls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions