Describe in detail what your merge request does and why.
Updated the workflow submission selection dialog to have only 1 horm instead of the number of submissions
Added a loading indicator for when the form is submitted
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
Light
Dark
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Add 10,000 samples to any project (either through rails console or through the seeds file)
or
Add a debugger command to line 57 of app/javascript/controllers/workflow_selection_controller.js, this will prevent the javascript before submitting the form so you can see the updated UI.
Try launching a pipeline (with one of the above)
Before selecting the pipeline you can inspect the form to ensure that there is only one form and the samples are only added once.
When you select the pipeline, you will notice the others disappear, and the current one becomes unclickable.
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
What does this PR do and why?
Describe in detail what your merge request does and why.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
Light![image](https://github.com/phac-nml/irida-next/assets/11295750/078fd267-fd75-40e7-8697-026ff9c618b8)
Dark![image](https://github.com/phac-nml/irida-next/assets/11295750/4c1eb746-8830-4aa4-8bfa-f1cab4fbbd01)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
debugger
command to line 57 ofapp/javascript/controllers/workflow_selection_controller.js
, this will prevent the javascript before submitting the form so you can see the updated UI.PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.