biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 9 forks source link

Make description editing in the validation more explicit #185

Closed gtsueng closed 1 year ago

gtsueng commented 2 years ago

Is your feature request related to a problem? Please describe. Currently the description editing is treated just like any other drag/drop validation option, but it is not like the others. The description option is additive (can work with other options), while other options are substitutes (will replace one another, or mess everything up if they do get added together). As such, it makes sense for it to be visually different in the UI.

Describe the solution you'd like Put it first in the order of options, and make the drag/drop item visibly different from the others. Maybe you can do this by removing the V icon from the button, or putting borders around this particular option, bolding the text, or making it bigger or something. For the default value of the description, it would be easiest if there is a way to just allow them to edit the value for this key: ie- Edit the text instead of: { "description": "new again description" } If this cannot be done, please change the default value of the description so someone can know easily what part to edit: { "description": "CHANGE THE DESCRIPTION HERE" }

gtsueng commented 1 year ago

The fixes were way better than I suggested