Introducing new SidebarsModal component with two tabs - with all sidebars and those displayed in chat list (that we are member of)
Details
Details
- Reviewers
tomek atul ashoat - Commits
- rCOMM496e35e418ab: [web] Introduce `SidebarsModal`
The modal is not used yet, next diff replaces an old one with this component in menu and after clicking "see more sidebars".
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
New copy @ashoat
web/modals/threads/sidebars/sidebars-modal.css | ||
---|---|---|
4 ↗ | (On Diff #14818) | Is this overflow a good idea? We already have overflow: auto on .sidebarList. |
web/modals/threads/sidebars/sidebars-modal.react.js | ||
26–29 ↗ | (On Diff #14818) | This function never changes, so we can consider defining it outside the component |
49–50 ↗ | (On Diff #14818) |
web/modals/threads/sidebars/sidebars-modal.css | ||
---|---|---|
4 ↗ | (On Diff #14818) | You're right, it's not needed here |
lib/shared/thread-utils.js | ||
---|---|---|
164 ↗ | (On Diff #14956) | I don't think that double negation is necessary because === already returns a boolean |
lib/shared/thread-utils.js | ||
---|---|---|
164 ↗ | (On Diff #14956) | Thanks for catching! |