Implement config dialog #1883

Open
opened 2013-09-24 15:40:22 +00:00 by rlx · 1 comment
Owner

We may want a full-fledged "Configure pan.do/ra" dialog -- this would help find config bugs, and allow a proper implementation of changing UI settings via # URLs. We'd need an abstract description of the config though: names, descriptions, default and allowed values (types, but also ranges, one-or-more-of-many, including configurable many), requires restart, removable ("title" item key isn't), editable (user.ui.videoPoints wouldn't be), etc. for every key/value pair, and forms with tons of ? / ?. Doable, but a lot of work...

We may want a full-fledged "Configure pan.do/ra" dialog -- this would help find config bugs, and allow a proper implementation of changing UI settings via # URLs. We'd need an abstract description of the config though: names, descriptions, default and allowed values (types, but also ranges, one-or-more-of-many, including configurable many), requires restart, removable ("title" item key isn't), editable (user.ui.videoPoints wouldn't be), etc. for every key/value pair, and forms with tons of <ArrayInputs>? / <ObjectArrayInputs>?. Doable, but a lot of work...
rlx added the
general
label 2013-09-24 15:40:22 +00:00
0x2620 was assigned by rlx 2013-09-24 15:40:22 +00:00
rlx added the
normal
enhancement
labels 2013-09-24 15:40:22 +00:00
rlx added this to the 14.01 milestone 2014-02-09 18:59:35 +00:00
Author
Owner

The easy way:

Update patches current JSONC to include all top-level block comments. (Then, just like now, config.py hot-patches config.py on load, to ensure basic consistency. I.e. the JSONC file is not necessarily equal to pandora.site)

Config dialog is one textarea with the complete contents of the JSONC, with buttons to "Reset Config" and to "Restart Server". The latter returns a task ID to be used for polling (also see #2448).

The easy way: Update patches current JSONC to include all top-level block comments. (Then, just like now, config.py hot-patches config.py on load, to ensure basic consistency. I.e. the JSONC file is not necessarily equal to pandora.site) Config dialog is one textarea with the complete contents of the JSONC, with buttons to "Reset Config" and to "Restart Server". The latter returns a task ID to be used for polling (also see #2448).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#1883
No description provided.