DevMode Settings Explorer feedback

DDor8/12/2021
So, I'm working on the styling for a little potential addition to Calego's 'Developer Mode' module and since this Discord is probably the key user group I could use the opinion of anyone who has one:
1) Is there any information you see here that would never be useful?
2) Is there any info you don't see here that would be useful?
3) As I'm starting to work on the styling now, any ideas you have on a useful way to lay out the information in a clear, compact way would be helpful.

(Images in thread)
DDor8/12/2021
DDor8/12/2021
Aarcanist8/12/2021
Perhaps remove the quotes on these
Aarcanist8/12/2021
Also, it would be dope if "Current" had a textbox to the right of it, rather than just text, which would allow you to put a new value for the setting
CCalego8/12/2021
I'd lay these out with JSON.stringify
CCalego8/12/2021
inside a <pre>
CCalego8/12/2021
maybe not stringify, there's some utility somewhere that formats json nicely
DDor8/12/2021
Hmmm, will investigate.
Aarcanist8/12/2021
JSON.stringify(myjson, null, 4)
Aarcanist8/12/2021
Maybe a light left hand border on the <details> elements?
CCalego8/12/2021
name isn't garunteed is it?
CCalego8/12/2021
balls
DDor8/12/2021
No, sadly
DDor8/12/2021
I place it if it exists and skip it if not. Same as hint
CCalego8/12/2021
Yeah makes sense
CCalego8/12/2021
I recind my previous statement
CCalego8/12/2021
I would not lay this out with JSON.stringify

I would lay out current aka value or w/e with it
CCalego8/12/2021
Some icons for scope config default would be good.
Don't think module is very useful as it's already under a heading.
Aarcanist8/12/2021
It would be really cool to be able to edit "current" 🥺
CCalego8/12/2021
no
no no
nono no nono no
no * 100
no ^ 100



no
Aarcanist8/12/2021
Yes
CCalego8/12/2021
maybe?
DDor8/12/2021
I think it might be too messy to edit it directly in a textbox there, but I could conceivably pop a dialog with the appropriate form field for the setting's type...
CCalego8/12/2021
We'll stretch goal it
CCalego8/12/2021
for now just display + reset
CCalego8/12/2021
:just:
Aarcanist8/12/2021
The field could be directly there as well
Aarcanist8/12/2021
Well, I don't see why not since this is for Devs who can type game.settings.set(.......)
Aarcanist8/12/2021
It just saves time
CCalego8/12/2021
editing a boolean would be easy, a string too, but beyond that there's some big needs for validation for me to be comfortable with a UI that does that
DDor8/12/2021
I have some ideas 😉 But yes, stretch goal.
CCalego8/12/2021
Plus almost all of the normal UI is the existing settings panel
CCalego8/12/2021
this is most useful for config: false things
CCalego8/12/2021
and those are typically complex structures
Aarcanist8/12/2021
Not in my experience 🤔
CCalego8/12/2021
My first idea was actually to literally inject the config: false settings into the settings panel but with their values jsonStringified
CCalego8/12/2021
that real estate is crowded lately lol
DDor8/12/2021
No matter what you do there's no good way to ensure that complex settings will be formatted in the way the module expects... but thankfully there's an available reset button, so.
DDor8/12/2021
In terms of formatting, some good ideas 👍
DDor8/12/2021
I am somewhat nervous about the implications of loading the dialog in a world with 300 active modules, each of which has x settings, and running game.settings.get (300*x) times... shrug
CCalego8/13/2021
Hmmm. That smells.

Take a look at what foundry core settings dialog does?