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)
Thu, Oct 31, 12:25 AM
Unknown Object (File)
Thu, Oct 31, 12:25 AM
Unknown Object (File)
Thu, Oct 31, 12:25 AM
Unknown Object (File)
Thu, Oct 31, 12:25 AM
Unknown Object (File)
Thu, Oct 31, 12:25 AM
Unknown Object (File)
Thu, Oct 31, 12:25 AM
Unknown Object (File)
Thu, Oct 31, 12:25 AM
Unknown Object (File)
Oct 18 2024, 6:41 PM
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 ↗(On Diff #34818)

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