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
F14055356: D8725.diff
Sat, Nov 16, 10:43 AM
F14043327: D8725.diff
Tue, Nov 12, 9:22 AM
F14027617: D8725.diff
Fri, Nov 8, 8:07 AM
F14006110: D8725.id.diff
Mon, Oct 28, 1:26 AM
F13988785: D8725.diff
Mon, Oct 21, 3:57 PM
Unknown Object (File)
Sep 24 2024, 1:07 AM
Unknown Object (File)
Sep 19 2024, 6:02 PM
Unknown Object (File)
Sep 19 2024, 5:58 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).