stable

Clone or download

Read-only

feat: Create new office file in OO

When you create a new "Online office file" (Document, Presentation, or Spreadsheet) then a modal asks you about document's metadata in a modal, and when you click on "Create and Edit document" button, the modal is closed, the item created, and ONLYOFFICE editor is open to edit the document. No functional changes for creation of other items. Part of story #28273: create OnlyOffice documents Change-Id: Icff26d91e40ba69080093b8f2f35f5d9865f147a

Modified Files

Name
M plugins/document/jest.config.js +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.test.ts +11 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.vue +12 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemModal.test.js +41 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemModal.vue +61 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalCommon/ModalHeader.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/helpers/emitter.ts +3 −2 Go to diff View file
A plugins/document/scripts/document/helpers/office/empty.docx Binary file Go to diff View file
A plugins/document/scripts/document/helpers/office/empty.pptx Binary file Go to diff View file
A plugins/document/scripts/document/helpers/office/empty.xlsx Binary file Go to diff View file
A plugins/document/scripts/document/helpers/office/get-empty-office-file.ts +51 −0 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +3 −0 Go to diff View file
M plugins/document/scripts/document/po/pt_BR.po +3 −0 Go to diff View file
M plugins/document/scripts/document/store/actions-create.test.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/actions-create.ts +12 −6 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/create-new-file.ts +8 −4 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/upload-file.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/store/clipboard/clipboard-actions.test.ts +40 −16 Go to diff View file
M plugins/document/scripts/document/store/clipboard/clipboard-actions.ts +1 −1 Go to diff View file
M plugins/document/scripts/document/vue.shims.d.ts +15 −0 Go to diff View file
M plugins/document/themes/_icons.scss +15 −0 Go to diff View file
M plugins/document/webpack.common.js +4 −0 Go to diff View file