sergi0g / cup

šŸ„¤Docker container updates made easy
https://sergi0g.github.io/cup/docs
GNU Affero General Public License v3.0
126 stars 1 forks source link

[Feature Request] - Settings UI #36

Open steveiliop56 opened 6 days ago

steveiliop56 commented 6 days ago

Hello again,

Right now Cup only supports configuration via the config.json file but it would be amazing to be able to edit its setting from the Web UI. I like how clean the UI is and don't want to bloat it so my ideal solution would be a small settings button on the top right of the screen that opens a settings modal. Now an issue here is that Cup doesn't have any auth and that shouldn't change for the main UI, so my solution is to have some token-password you set with environment variables and then can use in the UI to view/edit the settings. So the workflow would go like this:

  1. You open the Cup UI
  2. Click the settings button
  3. You are presented with a screen to enter your token
  4. You write your token
  5. Settings appear and you can edit them

Of course the config.json file stays the same and it should have an option to disable the settings part. It is a complex idea but it would be nice to have so you don't have to spin up Filebrowser to edit the config.

sergi0g commented 6 days ago

Hi @steveiliop56! I like this idea and it would certainly be a nice feature for the future. However, I'm not entirely sure whether it would be used much. I want to spend my (limited) free time on important features, so if you can get 10 upvotes, I'll implement it. Alternatively, you can work on this feature yourself and I'll happily help you out.