stable

Clone or download

Read-only

Display the version history content

Part story #24192 preview file name at upload Note: - This patch only concerns the file new version modal (update via the button) - This patch displays the file history and nothing else - No skeleton at loading (it will come after) How to test: - Update a file => The latest versions are displayed. => You should be able to download the file by clicking on its version id Change-Id: I1bc31303461236f2462f558a6f2f043d243f86ee

Modified Files

Name
A plugins/document/scripts/document/api/version-rest-querier.ts +35 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionFileModal.vue +3 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistory.test.ts +119 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistory.vue +94 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistoryContent.vue +38 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/__snapshots__/FileVersionHistory.test.ts.snap +36 −0 Go to diff View file
A plugins/document/scripts/document/helpers/properties-helpers/error-handler-helper.test.ts +65 −0 Go to diff View file
A plugins/document/scripts/document/helpers/properties-helpers/error-handler-helper.ts +45 −0 Go to diff View file
A plugins/document/scripts/document/helpers/version-history-retriever.test.ts +72 −0 Go to diff View file
A plugins/document/scripts/document/helpers/version-history-retriever.ts +30 −0 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +15 −0 Go to diff View file
M plugins/document/scripts/document/store/actions-create.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/handle-errors.ts +1 −21 Go to diff View file
M plugins/document/scripts/document/store/actions-update.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/error/error-actions.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/type.ts +16 −0 Go to diff View file
M plugins/document/themes/_update-document.scss +12 −0 Go to diff View file