Page MenuHomePhabricator

[web] Introduce settings section to NavInfo
ClosedPublic

Authored by tomek on Mar 4 2022, 8:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 6:45 AM
Unknown Object (File)
Mon, Dec 9, 8:35 AM
Unknown Object (File)
Mon, Nov 18, 9:57 PM
Unknown Object (File)
Mon, Nov 18, 9:24 PM
Unknown Object (File)
Mon, Nov 18, 8:25 PM
Unknown Object (File)
Nov 17 2024, 2:30 AM
Unknown Object (File)
Nov 17 2024, 12:53 AM
Unknown Object (File)
Nov 16 2024, 10:28 PM

Details

Summary

After this change it is possible to open /settings/account path - currently empty.
Depends on D3335
Depends on D3265

Test Plan

Open /settings/account path and check if empty page is rendered (with app and community switchers and correct background).

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

web/types/nav-types.js
11 ↗(On Diff #10078)

Currently we have only one settings section

web/url-utils.js
104–109 ↗(On Diff #10078)

This code is borrowed from D3265 which is a dependency of this diff

tomek requested review of this revision.Mar 4 2022, 8:07 AM
atul added inline comments.
web/url-utils.js
61–62 ↗(On Diff #10078)

Should we combine these into a single conditional? Or is it better to be symmetrical with what's above?

This revision is now accepted and ready to land.Mar 8 2022, 8:18 AM
web/url-utils.js
61–62 ↗(On Diff #10078)

I think that keeping the symmetry doesn't bring a lot of value, so going to merge these

This revision was automatically updated to reflect the committed changes.