duplicati / ngclient

Angular Client for Duplicati
MIT License
0 stars 0 forks source link

Google Cloud Storage enumeration options are missing options #19

Open kenkendk opened 2 weeks ago

kenkendk commented 2 weeks ago

The fields "location" and "storage class" are strings, but there are a a number of presets available:

Screenshot 2024-10-28 at 13 54 13

The presets are part of the option's list of possible values. The user should be able to type a custom string, or pick one of the values.

Here is the previous UI for inspiration:

Screenshot 2024-10-28 at 13 54 02
sp90 commented 2 weeks ago

It should just be sent as an enumeration with ValidValues from the backend that way it's handled correctly in the frontend automagically 👍

kenkendk commented 1 week ago

The challenge here is that it is not an enumeration. It is a free-text field. The WebModule returns a dictionary with (label, key) pairs for the most common options.

sp90 commented 1 week ago

Then we should maybe have a "suggested options" kind of field so we can feed in the data in the same way