Issue: https://linear.app/comm/issue/ENG-2887/create-all-communities-button
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 https://linear.app/comm/issue/ENG-2671/style-community-drawer-on-web
Details
Details
- Reviewers
michal • przemek - Commits
- rCOMM45648201ed06: [web] Add All communities / Inbox button
Run web app, check that at the top of the drawer:
- in calendar tab there is a "All communities" button, and pressing it resets the community filter
- in all other tabs there is a "Inbox" button, and pressing it navigates back to chat tab
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
web/sidebar/community-picker.react.js | ||
---|---|---|
36 ↗ | (On Diff #22267) | Actually after looking at it more, maybe it would be better to do something like const isCalendarOpen = useSelector(state => state.navInfo.tab === 'calendar'); like we do in isSettingsOpen and isInboxOpen |