stable

Clone or download

Read-only

feat: add notification message and upgrade UX

Create a notification store to display info/error notification on top of the page Fix style overflow text when file name is too long. Limit the number of displayed notifications simultaneously, add a message to indicate the number of remaining upload in progress. part of story #38627 : Choice of a new Rich Text Editor Change-Id: I21bc46b4066b9aa4058ca6287d2bddaf7c29d227

Modified Files

Name
A lib/frontend/prose-mirror-editor/src/helpers/index.ts +20 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/drop-file/plugin-drop-file.ts +6 −2 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/drop-file/types/file-upload-options.ts +3 −2 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/drop-file/upload-file.test.ts +5 −1 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/drop-file/upload-file.ts +11 −8 Go to diff View file
M plugins/artidoc/scripts/artidoc/po/fr_FR.po +5 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/App.vue +0 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/DocumentContent.vue +2 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/NotificationContainer.test.ts +22 −4 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/NotificationContainer.vue +61 −14 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/NotificationRemainingPendingUploads.test.ts +91 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/NotificationRemainingPendingUploads.vue +52 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/section/description/NotificationMessage.test.ts +109 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/section/description/NotificationMessage.vue +41 −0 Go to diff View file
R plugins/artidoc/scripts/artidoc/src/components/section/description/NotificationBar.test.ts Go to diff View file
R plugins/artidoc/scripts/artidoc/src/components/section/description/NotificationBar.vue Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useUploadFile.test.ts +70 −11 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useUploadFile.ts +30 −16 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/helpers/mock-file-list.ts +31 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/noop.ts +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/ConfigurationStoreStub.ts +1 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/InjectSectionsStoreStub.ts +1 −3 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/helpers/stubs/NotificationsStub.ts +44 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/SectionEditorStub.ts +1 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/UploadFileStoreStub.ts +3 −4 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/UploadFileStub.ts +1 −4 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/notification-injection-key.ts +24 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/stores/useNotificationsStore.ts +47 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/useUploadFileStore.ts +5 −4 Go to diff View file