Hide Advanced Parameters on Nested Services #204
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: servala/servala-portal#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stories
As a user, I want to not get overloaded by too many parameters in the service form
Implementation Notes
Some services, like Nextcloud or Keycloak nest other services like PostgreSQL. A nested service like PostgreSQL has a multitude of parameters, which are in themselves quite complex.
In this case, this is
spec.parameters.service.postgreSQLParameters. Hide these parameters by a toggle "Advanced" button which either shows or hides these parameters.We need to make the field(s) configurable in the service definition, because this can differ depending on the service definition. Make this an array and put all fields configured this way behind an advanced button.
BTW:
postgreSQLParametersleads intoPostgre s q l parametersin the frontend which isn't so nice.While it works with fields like
spec.parameters.backup.scheduleI couldn't see it working with the fieldsspec.parameters.service.fqdnorspec.parameters.service.postgreSQLParametersIt now works as expected and looking great 💯