Page MenuHomePhabricator

[web] Introduce `Sidebar` component
ClosedPublic

Authored by jacek on Jul 22 2022, 8:21 AM.
Tags
None
Referenced Files
F3301290: D4608.id14816.diff
Mon, Nov 18, 1:35 AM
F3301034: D4608.diff
Sun, Nov 17, 11:25 PM
Unknown Object (File)
Sat, Nov 9, 3:34 PM
Unknown Object (File)
Sat, Nov 9, 1:21 PM
Unknown Object (File)
Sat, Nov 9, 10:41 AM
Unknown Object (File)
Sat, Nov 9, 9:08 AM
Unknown Object (File)
Oct 7 2024, 4:07 PM
Unknown Object (File)
Oct 7 2024, 4:07 PM

Details

Summary

Introduce component displaying single Sidebar item in the list in Sidebars Modal on web.

Screenshot_Google Chrome_2022-07-22_173015.png (678×474 px, 38 KB)

Test Plan

The component will be used in the following diffs introducing the modal.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek added a reviewer: ashoat.

Adding @ashoat because this diff touches the copy (a little, but still).

web/modals/threads/sidebars/sidebars-modal.css
1–2 ↗(On Diff #14816)

We should prefer using semantic html, ideally already defined somewhere. So it's better to use button with custom style. It's the best to search the codebase for already defined component that is used for this purpose (a button without a style).

The screenshot looks great to me!

This revision is now accepted and ready to land.Jul 25 2022, 6:22 AM
This revision is now accepted and ready to land.Jul 26 2022, 6:55 AM
This revision was automatically updated to reflect the committed changes.