Page MenuHomePhabricator

[web] Introduce settings section to NavInfo
ClosedPublic

Authored by tomek on Mar 4 2022, 8:02 AM.
Tags
None
Referenced Files
F3295646: D3336.diff
Sat, Nov 16, 10:28 PM
Unknown Object (File)
Fri, Nov 8, 8:07 PM
Unknown Object (File)
Sun, Nov 3, 1:21 PM
Unknown Object (File)
Sun, Oct 27, 8:44 AM
Unknown Object (File)
Oct 14 2024, 3:06 AM
Unknown Object (File)
Oct 14 2024, 3:06 AM
Unknown Object (File)
Oct 14 2024, 3:06 AM
Unknown Object (File)
Oct 14 2024, 3:06 AM

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.