kubeshop / kusk-gateway

Kusk-gateway is an OpenAPI-driven API Gateway for Kubernetes
https://kubeshop.github.io/kusk-gateway/
MIT License
253 stars 21 forks source link

Dashboard: Implement required fields on policy forms. #914

Closed donnalux closed 1 year ago

donnalux commented 1 year ago

On any given policy form there may be fields that are required by user before a policy can be saved and applied. The labels should be marked as such and Save button should only be enabled when these are filled in.

Example:

image
mortada-codes commented 1 year ago

addressed: https://github.com/kubeshop/kusk-gateway-dashboard/pull/346

donnalux commented 1 year ago

@mortada-codes I don't think this is working 100%, some fields are showing validation errors even though field is not marked as required.

CORS

Image

Routing

Upstream: I think Cluster service should be marked as required here?

Image

Authentication

Save button enabled but port is required field

Image