stable
Clone or download
Read-only
How to test: The footer of the modal now only shows the max allowed file upload size. It no longer shows a progress bar. The modal no longer queries the temporary_files endpoint. Temporary files has been replaced by TUS protocol, they are no longer created, so there is no longer a reason to show a file quota progress bar (unless people call the API themselves, it's always empty -> it already showed the max file upload size). part of request #31111: Remove global states in the artifact modal Change-Id: I487fe7448d46f9a08ee8cad6d0e5821603612133
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po | +0 | −6 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/po/pt_BR.po | +0 | −6 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/UserTemporaryFileQuotaStore.ts | +0 | −36 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileField.ts | +2 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/file-field-detector.test.ts | +1 | −28 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/file-field-detector.ts | +0 | −3 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuota.ts | +17 | −51 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaController.test.ts | +0 | −42 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaPresenter.test.ts | +0 | −60 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaPresenter.ts | +0 | −40 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/_quota-display.scss | +0 | −26 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/domain/DidCheckFileFieldIsPresent.ts | +0 | −29 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/domain/DomainEvent.ts | +0 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/domain/EventDispatcher.test.ts | +4 | −4 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/domain/common/FileUploadQuotaController.test.ts | +53 | −0 | Go to diff View file |
R | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaController.ts | Go to diff View file | ||
M | plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/file-field/FileFieldController.test.ts | +0 | −10 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/file-field/FileFieldController.ts | +0 | −3 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/file-field/RetrieveUserTemporaryFileQuota.ts | +0 | −24 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/file-field/UserTemporaryFileQuota.ts | +0 | −28 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-upload-rules-state.d.ts | +0 | −29 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-upload-rules-state.js | +0 | −40 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-upload-rules-state.test.js | +0 | −63 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts | +2 | −6 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.test.ts | +0 | −32 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.ts | +1 | −20 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js | +2 | −9 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-service.js | +17 | −36 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-service.test.js | +0 | −13 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html | +0 | −1 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveUserTemporaryFileQuotaStub.ts | +0 | −27 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/tests/stubs/UserTemporaryFileQuotaStub.ts | +0 | −27 | Go to diff View file |