Page MenuHomePhabricator

Render default/current settings in the same format they'll be edited
ClosedPublic

Authored by epriestley on Apr 8 2014, 6:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 10:02 PM
Unknown Object (File)
Tue, Apr 16, 1:37 PM
Unknown Object (File)
Thu, Apr 11, 4:16 PM
Unknown Object (File)
Thu, Apr 11, 7:37 AM
Unknown Object (File)
Fri, Apr 5, 10:50 PM
Unknown Object (File)
Fri, Apr 5, 10:50 PM
Unknown Object (File)
Fri, Apr 5, 10:25 PM
Unknown Object (File)
Fri, Apr 5, 9:59 PM
Subscribers

Details

Summary

Fixes T4773. For config settings of type list<string>, set, or list<regex>, the "defaults" table and "examples" aren't always in the same format you should actually use when changing the setting.

This is pretty confusing. Instead, always show the settings in the desired format. For example, if the user should enter a newline-separated list, show them a newline separated list.

Test Plan
  • Grepped for list<string>, list<regex>, and 'set'; verified all the config had the right example format (most already did).
  • Viewed config settings of various kinds, including custom settings.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Render default/current settings in the same format they'll be edited.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.

New, copy-paste friendly version of this UI:

Screen_Shot_2014-04-08_at_11.56.37_AM.png (889×1 px, 147 KB)

btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 8 2014, 7:08 PM
epriestley updated this revision to Diff 20691.

Closed by commit rPf79320e64e8f (authored by @epriestley).