stable

Clone or download

Read-only

feat: add edit mode

Currently the artidoc is read-only, but now we want to edit sections using an editor. To test it, go on artidoc/:id and click on edit button, you can save or cancel your changes. Each sections are editable independently. Part of story #37543: edit ArtifactsAsDocument sections Change-Id: I2f20fa4aa34d108f7f067ea3807cc2b65bfbb1a9

Modified Files

Name
M plugins/artidoc/scripts/artidoc/package.json +2 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/pnpm-lock.yaml +299 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/po/fr_FR.po +9 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionContent.vue +18 βˆ’4 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionDescription.test.ts +49 βˆ’3 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionDescription.vue +14 βˆ’1 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionDescriptionEditor.test.ts +38 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionDescriptionEditor.vue +41 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionEditorCta.test.ts +73 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionEditorCta.vue +63 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactId.test.ts +7 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactId.vue +9 βˆ’4 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.test.ts +98 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.ts +78 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/artidoc-section.type.ts +1 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/rest-querier.ts +17 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/index.ts +2 βˆ’0 Go to diff View file