Page MenuHomePhabricator

[web] Add a rectangle next to settings icon when settings page is opened
ClosedPublic

Authored by tomek on May 25 2022, 6:44 AM.
Tags
None
Referenced Files
F3378994: D4124.diff
Wed, Nov 27, 2:34 PM
Unknown Object (File)
Sat, Nov 16, 10:08 AM
Unknown Object (File)
Thu, Nov 14, 4:38 PM
Unknown Object (File)
Thu, Nov 14, 4:38 PM
Unknown Object (File)
Tue, Oct 29, 12:13 AM
Unknown Object (File)
Oct 28 2024, 3:02 AM
Unknown Object (File)
Oct 28 2024, 3:02 AM
Unknown Object (File)
Oct 28 2024, 3:02 AM

Details

Summary

When settings page is opened we should mark it by adding a rectangle next to the icon in bottom-left corner. https://www.figma.com/file/a1nkbWgbgjRlrOY9LVurTz/Comm-%2F-Desktop-app?node-id=1272%3A88750

settings_open_margins.png (284×638 px, 37 KB)

settings_open.png (178×202 px, 7 KB)

chat_open.png (140×200 px, 7 KB)

Depends on D4121

Test Plan

Open chat and check if the rectangle is not displayed. Open settings and check if the rectangle is there (on both account and danger-zone pages).

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.May 25 2022, 6:51 AM

Nice, patched it and it looks just like the designs in Figma

fae3.png (172×184 px, 8 KB)

web/sidebar/community-picker.react.js
27 ↗(On Diff #13118)

Maybe isSettingsOpen?

This revision is now accepted and ready to land.May 25 2022, 10:21 AM
web/sidebar/community-picker.react.js
27 ↗(On Diff #13118)

Not sure, for me are sounds better because settings are plural. But it is likely that for a native speaker is is better. Are you sure is is a better option?

web/sidebar/community-picker.react.js
27 ↗(On Diff #13118)

This is probably a US English vs British English distinction. Both are fine imo