stable

Clone or download

Read-only

Start to clean the read only properties from document store

part of request #18402 Convert document plugin into typescript No functional changes. Cypress tests will cover most of this changes. Change-Id: Ic2a6a10c7a0585fffde461fbbc5ce84bcd2102b9

Modified Files

Name
M plugins/document/scripts/document/components/App.test.js +39 −30 Go to diff View file
M plugins/document/scripts/document/components/App.vue +1 −8 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.test.js +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsButton/DetailsItemButton.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsButton/DetailsItemButton.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsButton/NewItemButton.test.js +1 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.test.js +1 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DocumentNeedsApprovalErrorModal.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.test.js +5 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DeleteItem.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/DownloadFolderAsZip.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/DownloadFolderAsZip.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/ModalArchiveSizeWarning.test.js +3 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/ModalMaxArchiveSizeThresholdExceeded.test.js +3 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.test.js +5 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UnlockItem.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UnlockItem.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ItemPermissionError.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ItemPermissionError.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContent.test.js +2 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/EmbeddedCellTitle.test.js +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/EmbeddedCellTitle.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/LinkCellTitle.test.js +10 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/LinkCellTitle.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/WikiCellTitle.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/__snapshots__/LinkCellTitle.test.js.snap +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCreateNewItemVersion/CreateNewVersionEmptyModal.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalDeleteItem/AdditionalCheckboxes/DeleteAssociatedWikiPageCheckbox.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalDeleteItem/AdditionalCheckboxes/DeleteAssociatedWikiPageCheckbox.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalNewItem/NewFolderModal.test.js +3 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalNewItem/NewFolderModal.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalNewItem/NewItemModal.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalNewItem/NewItemModal.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateFolderMetadataModal.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateFolderMetadataModal.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateMetadataModal.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateMetadataModal.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateModal.test.js +4 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateModal.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookLink.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookWiki.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/SearchBox.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/SwitchToOldUI.test.js +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/SwitchToOldUI.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/index.js +8 −5 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/load-ascendant-hierarchy.test.js +0 −5 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/load-folder-content.test.js +0 −5 Go to diff View file
M plugins/document/scripts/document/store/actions.js +3 −1 Go to diff View file
M plugins/document/scripts/document/store/actions.test.js +1 −1 Go to diff View file
A plugins/document/scripts/document/store/configuration/index.ts +37 −0 Go to diff View file
M plugins/document/scripts/document/store/index.js +5 −1 Go to diff View file
M plugins/document/scripts/document/store/metadata/metadata-actions.js +3 −1 Go to diff View file
M plugins/document/scripts/document/store/metadata/metadata-actions.test.js +2 −2 Go to diff View file
M plugins/document/scripts/document/store/mutations-global.js +0 −8 Go to diff View file
M plugins/document/scripts/document/store/preferencies/preferencies-actions.js +13 −13 Go to diff View file
M plugins/document/scripts/document/store/preferencies/preferencies-actions.test.js +5 −10 Go to diff View file
M plugins/document/scripts/document/store/state.js +0 −4 Go to diff View file
M plugins/document/scripts/document/type.ts +10 −0 Go to diff View file
M plugins/document/webpack.common.js +2 −2 Go to diff View file