Skip to content

[TASK] Display validation errors during WorkspaceKind creation #454

@paulovmr

Description

@paulovmr

Certification

  • I certify I am an Epic Owner for Kubeflow Notebooks 2.0 and expected to create planning-related issues.

Description

During a WorkspaceKind creation, when a YAML file is uploaded, the UI should display a well formatted list of error messages. The validation errors will be returned by the backend, and a follow up task will be created once the backend for that is implemented.

For now, the errors will be mocked and only visible while running the frontend using mocked data, as well as submitting a YAML with the metadata.name field ending with -invalid, just for test purposes.

The code for the validation UI should be reusable, and generic components created as appropriated.

Acceptance Criteria

  • UI shows a list of errors when a WorkspaceKind YAML is invalid (using the conditions described above)
  • UI shows no errors when the WorkspaceKind YAML is valid

Metadata

Metadata

Assignees

Labels

area/frontendarea - related to frontend componentsarea/v2area - version - kubeflow notebooks v2kind/plan-taskkind - planning - task

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions