stable
Clone or download
Read-only
When a section is edited, user can now edit its title alongside its description. This works if the semantic is bound to a string field or a text field. If text field, then text, html, commonmark will be forced to text format on save. Part of story #37543: edit Artidoc sections Change-Id: Ibdfaaac52243c48498119e52899656427e606c7f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/artidoc/include/Artidoc/REST/v1/ArtidocSectionRepresentation.php | +5 | −1 | Go to diff View file |
M | plugins/artidoc/include/Artidoc/REST/v1/RawSectionsToRepresentationTransformer.php | +5 | −4 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/package.json | +2 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/pnpm-lock.yaml | +20 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.test.ts | +2 | −2 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionContent.vue | +9 | −3 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactId.test.ts | +36 | −10 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactId.vue | +24 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/TableOfContents.vue | +1 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.test.ts | +64 | −45 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.ts | +46 | −36 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/helpers/InjectSectionsStoreStub.ts | +4 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/helpers/artidoc-section.factory.ts | +7 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/helpers/artidoc-section.type.ts | +24 | −3 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/helpers/rest-querier.test.ts | +448 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/helpers/rest-querier.ts | +44 | −11 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/stores/useSectionsStore.test.ts | +165 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/stores/useSectionsStore.ts | +25 | −4 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/views/DocumentView.test.ts | +6 | −6 | Go to diff View file |
M | plugins/artidoc/tests/unit/Artidoc/REST/v1/ArtidocSectionRepresentationBuilderTest.php | +3 | −2 | Go to diff View file |
M | plugins/artidoc/tests/unit/Artidoc/REST/v1/PaginatedArtidocSectionRepresentationCollectionBuilderTest.php | +5 | −4 | Go to diff View file |
M | plugins/artidoc/tests/unit/Artidoc/REST/v1/RawSectionsToRepresentationTransformerTest.php | +50 | −2 | Go to diff View file |