stable

Clone or download

Read-only

feat: display document sections list

A section is a representation of an artifact in an artidoc. If a artidoc has associated artifacts, then the document view should be display, otherwise it should display the empty state view. For now, it's a read-only document. To test go to ${tuleap_url}/artidoc/:id. Part of story #37542: display a read only Document Change-Id: Ibd280a1ff967f6bd3a4407dcf55e22afae668dd9

Modified Files

Name
M plugins/artidoc/include/Artidoc/ArtidocController.php +1 βˆ’1 Go to diff View file
M plugins/artidoc/include/Artidoc/artidoc.mustache +2 βˆ’2 Go to diff View file
M plugins/artidoc/scripts/artidoc/package.json +1 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/pnpm-lock.yaml +16 βˆ’3 Go to diff View file
M plugins/artidoc/scripts/artidoc/po/fr_FR.po +0 βˆ’3 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/App.test.ts +46 βˆ’26 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/App.vue +42 βˆ’20 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/helpers/artidoc-section.factory.ts +56 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/helpers/artidoc-section.type.ts +45 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/rest-querier.ts +8 βˆ’4 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/index.ts +3 βˆ’1 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/views/DocumentContent.test.ts +47 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/views/DocumentContent.vue +56 βˆ’0 Go to diff View file