stable
Clone or download
Read-only
Part of request #22648 : Convert AngularJS directives and controllers to hybrids web components How to test: - No functional change expected in the display of the user's temporary file upload quota. If no usage, it shows the available space. If there is usage (you can fake it with REST or by editing rest-service.ts), it shows how much is being used with a progress bar. Notes: I intend to replace "file-upload-rules-state" by UserTemporaryFileQuotaStore. This is an intermediary state where both exist to reduce the size of the change. Change-Id: I5629e15f3f00f7353c322befb92c05f9688b72d8
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po | +6 | −14 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/UserTemporaryFileQuotaStore.ts | +36 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuota.ts | +87 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaController.test.ts | +42 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaController.ts | +33 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaPresenter.test.ts | +60 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/footer/FileUploadQuotaPresenter.ts | +40 | −0 | Go to diff View file |
R | plugins/tracker/scripts/lib/artifact-modal/src/quota-display/_quota-display.scss | Go to diff View file | ||
A | plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/file-field/RetrieveUserTemporaryFileQuota.ts | +24 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/file-field/UserTemporaryFileQuota.ts | +28 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-upload-rules-state.d.ts | +29 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts | +6 | −0 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/quota-display/quota-display-controller.js | +0 | −22 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/quota-display/quota-display-directive.js | +0 | −14 | Go to diff View file |
D | plugins/tracker/scripts/lib/artifact-modal/src/quota-display/quota-display.tpl.html | +0 | −21 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js | +3 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js | +1 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.scss | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html | +5 | −3 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveUserTemporaryFileQuotaStub.ts | +27 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/tests/stubs/UserTemporaryFileQuotaStub.ts | +27 | −0 | Go to diff View file |