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