stable

Clone or download

Read-only

Display the content of an embedded file in a dedicated view

part of story #13217 Display embedded content How to test: - click on an embedded document to display its content => new view display embedded file content => url is sharable: if you copy/paste it you are redirected directly on the embedded file content => if user try to access to an embedded file he can't read, there is a dedicated error message => if something goes wrong during the download of embedded content, the usual error messgae is displayed => spinner (skeletton) is displayed during embeded file load Action button, lock information and approval table status will be added in dedicated commits. Change-Id: Ic480c201c42790fd5a00c1ff5b69522e14c1191a

Modified Files

Name
M plugins/document/scripts/document/app.spec.js +5 −0 Go to diff View file
M plugins/document/scripts/document/components/App.vue +13 −5 Go to diff View file
D plugins/document/scripts/document/components/Folder/EmptyState/LoadingError.vue +0 −70 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/GoBackToRootButton.spec.js +74 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/GoBackToRootButton.vue +39 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/ItemPermissionError.vue +43 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/ItemPermissionErrorSvg.vue +37 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/LoadingError.vue +39 −0 Go to diff View file
R plugins/document/scripts/document/components/Folder/EmptyState/LoadingErrorSvg.vue Go to diff View file
R plugins/document/scripts/document/components/Folder/EmptyState/PermissionError.vue Go to diff View file
R plugins/document/scripts/document/components/Folder/EmptyState/PermissionErrorSvg.vue Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/ShowErrorDetails.spec.js +126 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/ShowErrorDetails.vue +73 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ItemDisplay/DisplayEmbedded.spec.js +93 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ItemDisplay/DisplayEmbedded.vue +57 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ItemDisplay/DisplayEmbeddedContent.vue +51 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ItemDisplay/DisplayEmbeddedSpinner.vue +34 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/EmbeddedCellTitle.spec.js +37 −18 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/EmbeddedCellTitle.vue +10 −2 Go to diff View file
M plugins/document/scripts/document/po/fr.po +15 −6 Go to diff View file
M plugins/document/scripts/document/router/index.js +6 −0 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/handle-errors.js +21 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.js +14 −1 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +45 −0 Go to diff View file
M plugins/document/scripts/document/store/error/error-getters.js +8 −0 Go to diff View file
M plugins/document/scripts/document/store/error/error-mutations.js +6 −3 Go to diff View file
M plugins/document/scripts/document/store/error/module.js +3 −0 Go to diff View file