kyma-project / cloud-manager

Apache License 2.0
3 stars 14 forks source link

[Busola UI] Disable immutable fields on UI #456

Closed kevin-kho closed 1 month ago

kevin-kho commented 2 months ago

Description

Disable immutable fields on UI to improve UX.

Reasons

The immutable fields are enforced by the x-kubernetes-validation rule (self == oldSelf). Currently, the users are able to edit the value in the UI and are only stopped upon submission. By disabling fields on edit in the UI, it will improve UX

Attachments

I've raised an issue on the kyma-project/busola and included my PR

kevin-kho commented 1 month ago

disableOnEdit property has been successfully merged into Busola's main repo via https://github.com/kyma-project/busola/commit/8fb0252f15a9d6b300f43cebb3b0a1155b8b0b7c

Will go through existing CRD's UI and add disableOnEdit: true for immutable fields