stable

Clone or download

Read-only

feat: Force configuration of document if empty

When a document is empty, and user can edit the document, then the configuration screen should be displayed. Since we should avoid modal whenever possible, the configuration is done directly in the page so that the user flow is not blocked. No success is displayed yet since we will introduce directly the new section form later once implemented. We will see then what should be done. No functional change for the modal. Part of story #38288: add a new section Change-Id: I7031a9f7c96e4102f79309d385bd1c1731489ce6

Modified Files

Name
M plugins/artidoc/scripts/artidoc/src/components/DocumentHeader.vue +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.test.ts +0 −44 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.vue +11 −72 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationPanel.test.ts +40 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationPanel.vue +94 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/configuration/TrackerSelection.test.ts +45 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/configuration/TrackerSelection.vue +62 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/composables/useConfigurationScreenHelper.test.ts +158 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/composables/useConfigurationScreenHelper.ts +93 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/themes/artidoc.scss +0 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/views/DocumentView.test.ts +62 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/views/DocumentView.vue +16 −1 Go to diff View file