stable

Clone or download

Read-only

fix(document): Close request #36801 Progress bar in Document upload is stuck to 0%

When uploading one or multiple files in Document, then the upload progress bar always displays 0% and then 100% when finished. Technical note: The FakeItem was previsouly defined in the store action. Now, using Vue3, defining this in the action will define this FakeItem as readonly. We have to define it in the Vue file to be well modified and taken into account by Vue components. Change-Id: I9ece30fec3fad3f388671ffde3b96f8045a49ade

Modified Files

Name
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.test.js +6 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.vue +4 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewFolderModal.vue +2 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemModal.vue +3 −0 Go to diff View file
A plugins/document/scripts/document/helpers/item-builder.ts +39 −0 Go to diff View file
M plugins/document/scripts/document/store/actions-create.test.ts +75 −13 Go to diff View file
M plugins/document/scripts/document/store/actions-create.ts +7 −4 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/create-new-file.ts +6 −16 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/upload-file.ts +4 −10 Go to diff View file
M plugins/document/scripts/document/type.ts +5 −1 Go to diff View file