stable

Clone or download

Read-only

Item can be copied from the document UI

This is first step to demonstrate the feature works, a lot of things are missing: - No message at the top of the document UI - No progress information besides the spinner in the contextual menu - No persistence after a refresh - No sharing of the clipboard between the tabs of the browser - Contextual dropdown menu stays open when the user do a clipboard action - Copy/Paste options are only available in the dropdown quicklook menu Part of story #12456: Cut/Copy/paste items Change-Id: I9fd1d76382e44d0158ab8ba867ec5d1e578d97cf

Modified Files

Name
M plugins/document/scripts/document/api/rest-querier.js +65 −1 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.spec.js +89 −2 Go to diff View file
M plugins/document/scripts/document/app.spec.js +6 −1 Go to diff View file
A plugins/document/scripts/document/components/Folder/ActionsDropDown/CopyItem.spec.js +58 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ActionsDropDown/CopyItem.vue +47 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.vue +6 −1 Go to diff View file
A plugins/document/scripts/document/components/Folder/ActionsDropDown/PasteItem.spec.js +121 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ActionsDropDown/PasteItem.vue +70 −0 Go to diff View file
M plugins/document/scripts/document/po/fr.po +6 −0 Go to diff View file
A plugins/document/scripts/document/store/actions-helpers/adjust-item-to-content-after-item-creation.js +34 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.js +31 −16 Go to diff View file
A plugins/document/scripts/document/store/clipboard/clipboard-actions.js +80 −0 Go to diff View file
A plugins/document/scripts/document/store/clipboard/clipboard-actions.spec.js +184 −0 Go to diff View file
A plugins/document/scripts/document/store/clipboard/clipboard-default-state.js +27 −0 Go to diff View file
A plugins/document/scripts/document/store/clipboard/clipboard-mutations.js +43 −0 Go to diff View file
A plugins/document/scripts/document/store/clipboard/clipboard-mutations.spec.js +78 −0 Go to diff View file
A plugins/document/scripts/document/store/clipboard/module.js +29 −0 Go to diff View file
M plugins/document/scripts/document/store/index.js +4 −2 Go to diff View file
A plugins/document/themes/BurningParrot/document/_clipboard.scss +39 −0 Go to diff View file
M plugins/document/themes/BurningParrot/document/_document.scss +1 −0 Go to diff View file
M src/www/themes/common/tlp/doc/js/editors.js +10 −0 Go to diff View file
M src/www/themes/common/tlp/doc/resources/flyover/dropdowns/example.html +25 −1 Go to diff View file
M src/www/themes/common/tlp/src/scss/components/_dropdowns.scss +5 −0 Go to diff View file