Part of #7213 (problem 5: scattered counts). Independent display fix — not part of the entry-convergence train.
Facts (verified 2026-08-10)
Scope (minimal display fix)
Keep the total, but make the popover show the two components as labelled rows/sections ("Notifications N" / "Pending approvals M") so the badge is explainable. Verify the current popover layout first; if it already sections the two lists, the fix may be as small as rendering per-section counts.
Acceptance criteria
- A user seeing bell "9+" can see in the popover that it is N notifications + M pending approvals, with M matching the home card / Approvals Inbox tab count.
Part of #7213 (problem 5: scattered counts). Independent display fix — not part of the entry-convergence train.
Facts (verified 2026-08-10)
totalBadge = deduped unread (topic,title) count + pendingApprovalsCount(packages/app-shell/src/hooks/useHomeInbox.ts:127-138;packages/app-shell/src/layout/InboxPopover.tsx). The approvals half has no dedicated count API — it is thetotalofGET /api/v1/approvals/requests?status=pending&approverId=….Scope (minimal display fix)
Keep the total, but make the popover show the two components as labelled rows/sections ("Notifications N" / "Pending approvals M") so the badge is explainable. Verify the current popover layout first; if it already sections the two lists, the fix may be as small as rendering per-section counts.
Acceptance criteria