Page MenuHomePhabricator

[web] Introduce `SidebarList` component
ClosedPublic

Authored by jacek on Jul 22 2022, 8:22 AM.
Tags
None
Referenced Files
F3301262: D4609.id14988.diff
Mon, Nov 18, 1:22 AM
F3301047: D4609.diff
Sun, Nov 17, 11:31 PM
Unknown Object (File)
Sat, Nov 9, 4:59 PM
Unknown Object (File)
Sat, Nov 9, 3:49 PM
Unknown Object (File)
Sat, Nov 9, 11:56 AM
Unknown Object (File)
Sat, Nov 9, 9:08 AM
Unknown Object (File)
Oct 17 2024, 3:37 PM
Unknown Object (File)
Oct 7 2024, 4:07 PM

Details

Summary

Introduce component displaying list of sidebars in Sidebars modal.

Screenshot_Google Chrome_2022-07-22_173057.png (666×472 px, 38 KB)

Screenshot_Google Chrome_2022-07-25_151232.png (670×464 px, 20 KB)

Test Plan

The component will be used in Sidebars Modal after next diff.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek added a reviewer: ashoat.

Could you also share a screenshot with empty sidebars?

Adding @ashoat as the copy is introduced.

web/modals/threads/sidebars/sidebar-list.react.js
29

Overall I'm not a big fan of checking truthiness when the intention is to check the length. I think we should express our intention.

ashoat added inline comments.
web/modals/threads/sidebars/sidebar-list.react.js
32

Can we use a period instead of an exclamation mark at the end?

This revision is now accepted and ready to land.Jul 25 2022, 6:28 AM

Replaced "!" with "." and address Tomek's suggestion

This revision was automatically updated to reflect the committed changes.