Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Display both key and value of output formats #213

Closed christophfriedrich closed 2 years ago

christophfriedrich commented 2 years ago

Right now, the dropdown menu when selecting a format for save_result contains items like "Portable Network Graphics" -- only hardcore users will know that this is the full name of "PNG". Since this depends on the config of the backend, it can't really be changed here, but: If e.g. the key is "PNG" and the value is "Portable Network Graphics", we could output both so it becomes "Portable Network Graphics (PNG)".

To prevent something like "PNG (PNG)", there should be a check beforehand whether the two are equal.

m-mohr commented 2 years ago

This should be better now:

image