Page MenuHomePhabricator

Turn DarkConsole settings into real settings
ClosedPublic

Authored by epriestley on Jun 3 2016, 5:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 30, 7:17 AM
Unknown Object (File)
Thu, Apr 25, 1:48 AM
Unknown Object (File)
Fri, Apr 19, 4:48 PM
Unknown Object (File)
Mon, Apr 8, 9:53 PM
Unknown Object (File)
Apr 1 2024, 6:15 AM
Unknown Object (File)
Mar 31 2024, 11:41 PM
Unknown Object (File)
Mar 31 2024, 2:30 PM
Unknown Object (File)
Mar 31 2024, 2:30 PM
Subscribers

Details

Summary

Ref T4103. These settings long-predate proper settings and are based on hard-coded user properties. Turn them into real settings.

(I didn't try to migrate the value since they're trivial to restore and only useful to developers.)

Test Plan
  • Toggled console on/off.
  • Swapped tabs.
  • Reloaded page, everything stayed sticky.

Diff Detail

Repository
rP Phabricator
Branch
setting19
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12429
Build 15745: Run Core Tests
Build 15744: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Turn DarkConsole settings into real settings.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 3 2016, 5:54 PM

I wonder if this could replace darkconsole.always-on since one could turn it on for the 'logged out' or 'default' profile? Just a thought.

I expect to be able to be able to get rid of at least a few other settings like metamta.vary-subjects and metamta.re-prefix and just move them to the global profile.

Stuff like darkconsole.always-on and phabricator.timezone might be removable too, but they enable slightly different behavior than a global default would and may have some boostrapping issues (e.g., we might emit a log early on that needs the timezone defined, before we have a chance to build it from storage).

This revision was automatically updated to reflect the committed changes.