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
Unknown Object (File)
Thu, Sep 19, 5:52 AM
Unknown Object (File)
Thu, Sep 19, 5:52 AM
Unknown Object (File)
Thu, Sep 19, 5:52 AM
Unknown Object (File)
Thu, Sep 19, 5:51 AM
Unknown Object (File)
Thu, Sep 19, 5:44 AM
Unknown Object (File)
Wed, Sep 18, 5:43 AM
Unknown Object (File)
Tue, Sep 17, 1:05 PM
Unknown Object (File)
Tue, Sep 17, 12:54 PM

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
Lint Not Applicable
Unit
Tests Not Applicable

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