Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Create a new page for yaml editor #5172

@SwordFaith

Description

@SwordFaith

Motivation

Currently, OpenPAI webportal does not support submit yaml directly. User's yaml config will be sequelized and set some default values.

Goal

  • Create a new page for user to submit a protocol yaml config directly without any modification.
  • Provide a editor to edit the config.

Test cases

  1. Import example yaml file from local, and display in editor component with validation info update, if validation success, submit button will be available.
  2. Edit imported example yaml file, delete some required item, validation info should go wrong,
  3. Copy success job config yaml file from job list, paste it in editor component, change job name. The validation info should be success and submit it should be no error, and can see new job in job list.
  4. Click back can jump back to job-wizard page.
  5. Click Protocol Schema will jump to openpai-protocol schema on github

Known issues

  1. job-wizard page entry svg should be updated

Future work

  1. More friendly validation info

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions