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)
Mon, Apr 8, 6:03 PM
Unknown Object (File)
Feb 20 2024, 6:41 AM
Unknown Object (File)
Feb 20 2024, 3:36 AM
Unknown Object (File)
Feb 20 2024, 3:16 AM
Unknown Object (File)
Feb 20 2024, 1:25 AM
Unknown Object (File)
Feb 20 2024, 12:42 AM
Unknown Object (File)
Feb 19 2024, 6:43 PM
Unknown Object (File)
Feb 14 2024, 5:07 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
Lint Not Applicable
Unit
Tests Not Applicable

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