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
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
93740f17ef
Allow editing and resetting of all admin setting strings
raucao added 1 commit 2023-06-22 11:58:04 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
Release Drafter / Update release notes draft (pull_request) Successful in 3s Details
e4ed797920
Adjust specs
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 reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/akkounts#137
No description provided.