-
Notifications
You must be signed in to change notification settings - Fork 572
Create a new process: no feedback when invalid name is entered #6166
Copy link
Copy link
Labels
Difficulty: LowEstimated at less than 8 hoursEstimated at less than 8 hoursbugclaimed: eScireeScire team is working on this issue & will contribute backeScire team is working on this issue & will contribute backtools:processesRelated to Scripts & Processes (new to DSpace 7)Related to Scripts & Processes (new to DSpace 7)uxUser Experience related worksUser Experience related works
Description
Activity
Metadata
Metadata
Assignees
Labels
Difficulty: LowEstimated at less than 8 hoursEstimated at less than 8 hoursbugclaimed: eScireeScire team is working on this issue & will contribute backeScire team is working on this issue & will contribute backtools:processesRelated to Scripts & Processes (new to DSpace 7)Related to Scripts & Processes (new to DSpace 7)uxUser Experience related worksUser Experience related works
Type
Projects
- StatusShow more project fields🏗 In Progress
Describe the bug
Currently, entering a non-existent script name at
/processses/newand pressing "Save" does not provide any visual feedback (no error message, no notification)Interestingly, when a user selects any script and then deletes the text from the input field, only then the validation error "Script is required" appears (see screenshot):
To Reproduce
Reproduced on sandbox.dspace.org and demo.dspace.org using Google Chrome v151.0.
/processes/newThe validation error "Script is required" appears only under a certain condition:
Expected behavior
User should receive a clear feedback on what action is required to proceed.
A minimal fix would be to show the "Script is required" error when pressing "Save" with empty/invalid input. Additionally, the "Save" button could be disabled until the form is valid
Related work
Nothing relevant found