stable

Clone or download

Read-only

feat(ttm): display file creation error in a modal

part of: story #22576 have multiple files uploaded with comments How to test: - Open TrackerFieldsResource.php and line 165 add: `throw new RestException(400, "Nope")` - Upload several files at once --> An error modal pops in, displaying the errors encountered for each file. - close the modal - Upload one file --> Same, but with only the error encountered for the latest file Change-Id: I669aac9e5688cbd424dab6e326f5b2402a87ee56

Modified Files

Name
M plugins/testmanagement/scripts/testmanagement/po/fr.po +3 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-rest-service.js +5 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-rest-service.test.js +37 −8 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.js +14 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.test.js +36 −0 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-creation-error-modal.js +79 −0 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-creation-error-modal.test.js +107 −0 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-creation-error-modal.tpl.html +21 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments.tpl.html +1 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution.js +2 −0 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_current-execution.scss +26 −0 Go to diff View file