Page MenuHomePhabricator

[web] show total unreads in the navigation sidebar home button
ClosedPublic

Authored by ginsu on Dec 18 2023, 2:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 12:58 PM
Unknown Object (File)
Thu, Dec 12, 12:17 AM
Unknown Object (File)
Nov 23 2024, 12:27 PM
Unknown Object (File)
Oct 31 2024, 12:25 AM
Unknown Object (File)
Oct 31 2024, 12:25 AM
Unknown Object (File)
Oct 31 2024, 12:25 AM
Unknown Object (File)
Oct 31 2024, 12:25 AM
Unknown Object (File)
Oct 31 2024, 12:25 AM
Subscribers

Details

Summary

This diff introduces the unread badge in the navigation sidebar home button component. Here we want to show the user the total number of unread messages they have on Comm across all of their communities

Linear task: https://linear.app/comm/issue/ENG-5951/introduce-a-new-unread-badge

Depends on D10390

Test Plan

Please see the screenshots below

Screenshot 2023-12-18 at 5.22.27 PM.png (436×522 px, 17 KB)

Screenshot 2023-12-18 at 5.22.47 PM.png (424×342 px, 16 KB)

Screenshot 2023-12-18 at 5.22.38 PM.png (352×312 px, 14 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

update

web/navigation-sidebar/navigation-sidebar-home-button.css
21–22

This is a bit of a strange case but I left a comment here, justifying why we need to do this

ginsu requested review of this revision.Dec 18 2023, 2:51 PM

update

web/navigation-sidebar/navigation-sidebar-home-button.css
23 ↗(On Diff #34820)

This is a bit of a strange case but I left a comment here, justifying why we need to do this

This revision is now accepted and ready to land.Dec 19 2023, 6:54 AM

rebase after addressing comments in D10393