stable
Clone or download
Read-only
When you're uploading a bunch of files, a list of progress bars is displayed on top of the page as temporary alerts. To do that, I had to refactor the state managment for upload. The state was stored by section, and now it has to be in a global store. This new approach fixed the bug when the save button was enabled between uploads. part of story #38627 : Choice of a new Rich Text Editor Change-Id: I9bb697669d9ae085e277e0465ce4f3c926dd7566
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/prose-mirror-editor/src/plugins/drop-file/helpers/progress-computation-helper.test.ts | +6 | β6 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/drop-file/helpers/progress-computation-helper.ts | +6 | β6 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/drop-file/helpers/upload-file-helper.ts | +5 | β4 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/drop-file/plugin-drop-file.ts | +14 | β15 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/drop-file/types/file-upload-options.ts | +2 | β2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/drop-file/upload-file.test.ts | +34 | β10 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/drop-file/upload-file.ts | +13 | β10 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/use-editor.ts | +3 | β3 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/po/fr_FR.po | +0 | β3 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/App.vue | +2 | β0 | Go to diff View file |
R | plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescriptionEditorProseMirror.test.ts | Go to diff View file | ||
A | plugins/artidoc/scripts/artidoc/src/components/NotificationContainer.vue | +52 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/SectionContent.vue | +1 | β2 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/description/NotificationBar.test.ts | +21 | β18 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/description/NotificationBar.vue | +12 | β15 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescriptionEditorProseMirror.vue | +2 | β11 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.test.ts | +21 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.ts | +5 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useUploadFile.test.ts | +127 | β19 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useUploadFile.ts | +39 | β14 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/helpers/stubs/UploadFileStoreStub.ts | +58 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/helpers/stubs/UploadFileStub.ts | +2 | β13 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/index.ts | +4 | β0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/stores/upload-file-store-injection-key.ts | +23 | β0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/stores/useUploadFileStore.ts | +71 | β0 | Go to diff View file |