Allow editing and resetting of all admin setting strings #137

Merged
greg merged 3 commits from feature/admin_settings into master 2023-06-24 14:57:09 +00:00
Owner

As of now, strings set via environment variables are marked readonly and the form fields disabled.

This adds new form components for resettable settings fields and makes all of them editable. This way, when you change something from a pre-set or otherwise default value, there is a button to reset the field. It only appears if a default value actually exists, so if a value is not pre-set via env var, there's no reset button at all.

There's a small additional commit, which allows to change the from address for chat notifications.

As of now, strings set via environment variables are marked readonly and the form fields disabled. This adds new form components for resettable settings fields and makes all of them editable. This way, when you change something from a pre-set or otherwise default value, there is a button to reset the field. It only appears if a default value actually exists, so if a value is not pre-set via env var, there's no reset button at all. There's a small additional commit, which allows to change the from address for chat notifications.
raucao added the
kredits-2
feature
labels 2023-06-22 11:55:08 +00:00
raucao added 2 commits 2023-06-22 11:55:09 +00:00
Allow editing and resetting of all admin setting strings
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
93740f17ef
raucao added 1 commit 2023-06-22 11:58:04 +00:00
Adjust specs
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 3s
e4ed797920
greg approved these changes 2023-06-24 14:56:59 +00:00
greg left a comment
Owner

Very useful feature! Looking good.

Very useful feature! Looking good.
greg merged commit 83e3e2ecd8 into master 2023-06-24 14:57:09 +00:00
greg deleted branch feature/admin_settings 2023-06-24 14:57:09 +00:00
Sign in to join this conversation.
No description provided.