stable

Clone or download

Read-only

Refactoring: extract small components

Part of story #12447: Modal new document for empty/wiki/link In order to ease the introduction of a new type in the creation modale, we need to extract smaller components first so that the modal component does not become too fat. Small functional changes: - when the modal is open, title input has focus - when the modal is dismissed (e.g cancel button) and reopen, the previous entered title/description are lost. Change-Id: I22647d4cd9da0dd9bbd85554e34c810324408780

Modified Files

Name
M plugins/document/scripts/document/components/Folder/NewItem/NewItemModal.vue +24 −51 Go to diff View file
A plugins/document/scripts/document/components/Folder/NewItem/Property/PropertyDescription.vue +54 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/NewItem/Property/PropertyTitle.vue +57 −0 Go to diff View file
M plugins/document/themes/BurningParrot/document/_new-document.scss +1 −1 Go to diff View file