Page MenuHomePhabricator

[web] Add All communities / Inbox button

Authored by inka on Feb 8 2023, 3:18 AM.
Referenced Files
Unknown Object (File)
Fri, Mar 17, 7:48 PM
Unknown Object (File)
Sat, Feb 25, 2:34 AM
Unknown Object (File)
Sat, Feb 25, 12:40 AM
Unknown Object (File)
Fri, Feb 24, 6:50 AM
Unknown Object (File)
Mon, Feb 20, 8:53 PM
Unknown Object (File)
Mon, Feb 20, 5:58 PM
Unknown Object (File)
Feb 16 2023, 9:55 AM
Unknown Object (File)
Feb 13 2023, 5:12 PM



As discussed in ENG-1882 we want to have a "All communities" button, that resets the calendar filters to show all chats the user is a member of. This is in contrast to ENG-2794, where we create the
possibility to display in filters panel only chats from a given community.
The styles will be revisited during

Test Plan

Run web app, check that at the top of the drawer:

  1. in calendar tab there is a "All communities" button, and pressing it resets the community filter
  2. in all other tabs there is a "Inbox" button, and pressing it navigates back to chat tab

Diff Detail

rCOMM Comm
Lint Not Applicable
Tests Not Applicable

Event Timeline

inka requested review of this revision.Feb 8 2023, 3:32 AM
This revision is now accepted and ready to land.Feb 8 2023, 7:34 AM
36 ↗(On Diff #22267)

Actually after looking at it more, maybe it would be better to do something like

const isCalendarOpen = useSelector(state => === 'calendar');

like we do in isSettingsOpen and isInboxOpen