stable

Clone or download

Read-only

feat: Insert new section after configuration

If you have an existing document that is not configured but already contain sections, then when the add new section button is clicked, the configuration modal is opened. However, once successfuly saved, the modal can be closed but user has lost where the new section should be. Now when the new selected tracker is compatible with the section creation, then the form to enter the section is displayed as soon as the configuration is saved. If the selected tracker is not compatible, then the form is not displayed. Part of story #38288: add a new section Change-Id: Iaa5d4301e13742a19a151fd739694297e956a6f1

Modified Files

Name
M plugins/artidoc/scripts/artidoc/src/components/AddNewSectionButton.test.ts +116 −10 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/AddNewSectionButton.vue +18 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.test.ts +38 −5 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.vue +16 −4 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationPanel.vue +9 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/TrackerSelection.test.ts +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/TrackerSelection.vue +2 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useConfigurationScreenHelper.ts +3 −3 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useOpenConfigurationModalBus.test.ts +19 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useOpenConfigurationModalBus.ts +10 −6 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/ConfigurationStoreStub.ts +7 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/configuration-store.test.ts +8 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/configuration-store.ts +3 −2 Go to diff View file