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: I0a1f0cb88d7f3b22e6da06b3c6425e37c87741e5

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 +16 βˆ’4 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionDescription.test.ts +56 βˆ’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 +74 βˆ’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 +8 βˆ’4 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.ts +69 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/rest-querier.ts +21 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/index.ts +2 βˆ’0 Go to diff View file