Page MenuHomePhabricator

[web] Move code around to match the new code logic
ClosedPublic

Authored by inka on Jan 24 2023, 2:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 2:59 AM
Unknown Object (File)
Mon, Oct 28, 7:04 AM
Unknown Object (File)
Mon, Oct 28, 7:04 AM
Unknown Object (File)
Mon, Oct 28, 7:04 AM
Unknown Object (File)
Mon, Oct 28, 7:04 AM
Unknown Object (File)
Mon, Oct 28, 7:03 AM
Unknown Object (File)
Mon, Oct 28, 7:03 AM
Unknown Object (File)
Mon, Oct 28, 6:55 AM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-2739/move-navigationpanel-from-the-sidebar-to-a-top-bar
Now that the SettingSwitcher is no longer in the sidebar, it's code had to be moved outside of web/sidebar. The styles in left-layout-aside.css were only used for SettingsSwticher (and horizontal NavigationPanel that is used only in SettingsSwitcher so the file could be renamed and also moved. NavigationPanel is used for SettingSwitcher and AppSwitcher, so only for navigation panels. Thus all of this code could be put into web/navigation-panels as well as the Topbar, that is a navigation panel (contains AppSwitcher and will contain the navigation state information).

Test Plan

Run web app, check that the top bar in Inbox, and the SettingSwitcher in Settings display correctly. Run flow check in web/.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka requested review of this revision.Jan 24 2023, 2:31 AM
This revision is now accepted and ready to land.Feb 9 2023, 5:43 AM