Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update environment creation #365

Closed
callmevladik opened this issue Sep 5, 2024 · 0 comments
Closed

Update environment creation #365

callmevladik opened this issue Sep 5, 2024 · 0 comments

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Sep 5, 2024

This task involves making enhancements to the Create Environment dialog to improve user input validation and the initial user experience. The specific requirements are as follows:

  1. Input Validation: The dialog must enforce validation checks to ensure that the user provides values for essential fields. The mandatory fields are:

Environment Name (must not exceed 10 symbols)
Description

These fields should not be left blank, and appropriate error messages should be displayed if the validation fails. Additionally, the Environment Name should be limited to a maximum of 10 symbols.

  1. Default Pipeline Template Selections: Automatically set the default selections for the pipeline templates to enhance the user setup experience.

Set the 'Deploy Pipeline template' dropdown to automatically select the first item in the list as its default value.
Similarly, set the 'Clean Pipeline template' dropdown to select the first item in the list by default.
Acceptance Criteria:
The Create Environment dialog must validate that both the Environment Name and Description fields are filled out by the user. If not, display a relevant error message prompting the user to provide the missing information.
The Environment Name field must be validated to ensure it does not exceed 10 symbols. If it does, display a relevant error message.
Upon opening the Create Environment dialog, the 'Deploy Pipeline template' and 'Clean Pipeline template' dropdowns should have their first items selected by default.
The changes should not affect the existing functionality outside of the specified enhancements.
Implementation Plan:
Update the form validation logic to include checks for the Environment Name and Description fields. Ensure the Environment Name does not exceed 10 symbols.
Modify the initialization logic for the Create Environment dialog to set the default selections for the 'Deploy Pipeline template' and 'Clean Pipeline template' dropdowns.
Conduct thorough testing to ensure the validation works as expected and the default selections do not interfere with the user's ability to choose different options if desired.

@callmevladik callmevladik converted this from a draft issue Sep 5, 2024
callmevladik added a commit that referenced this issue Sep 5, 2024
@SergK SergK moved this from Todo to In Progress in KubeRocketCI (EPAM Delivery Platform) Sep 5, 2024
SergK pushed a commit that referenced this issue Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant