stable
Clone or download
Read-only
When user clicks on the Add new section button, if the document is not configured with a tracker, then the modal is displayed in order to let the user complete the configuration. If the document is configured, then the button does nothing yet, in future contribution it will display the new section form. (It seems odd to have a button that does nothing but we are confident that the new section form will come before the code freeze. If it is not the case then we will add a flag to deactivate the button.) Part of story #38288: add a new section Change-Id: I82936be1f57f88298518f2473f72f28f16f01199
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/artidoc/scripts/artidoc/src/components/AddNewSectionButton.test.ts | +56 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/AddNewSectionButton.vue | +16 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.test.ts | +23 | −7 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.vue | +5 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentHeader.test.ts | +11 | −3 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionDescriptionEditor.test.ts | +2 | −6 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.test.ts | +16 | −5 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.vue | +5 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/configuration/TrackerSelection.test.ts | +4 | −5 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useConfigurationScreenHelper.test.ts | +14 | −13 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/composables/useOpenConfigurationModalBus.test.ts | +38 | −0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/composables/useOpenConfigurationModalBus.ts | +42 | −0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/helpers/mock-strict-inject.ts | +37 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/index.ts | +5 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/views/DocumentView.test.ts | +18 | −27 | Go to diff View file |