stable
Clone or download
Read-only
For read only document we used slots to manage sections display and skeleton. But for edit mode, it's not efficient, so now we are using provide/inject to manage sections and loading state like a store. It's a requirement for the others development on edit mode. Part of story #37543: edit ArtifactsAsDocument sections Change-Id: I4f723adf7a3dcfb6a1825a68fc033131a55fa7f0
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/artidoc/scripts/artidoc/package.json | +1 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/pnpm-lock.yaml | +3 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/App.test.ts | +10 | β24 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/App.vue | +14 | β14 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.test.ts | +2 | β24 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.vue | +3 | β27 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentLayout.test.ts | +13 | β12 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentLayout.vue | +11 | β3 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/components/SectionContent.test.ts | +74 | β0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/components/SectionContent.vue | +57 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionDescription.test.ts | +22 | β8 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionDescription.vue | +8 | β4 | Go to diff View file |
R | plugins/artidoc/scripts/artidoc/src/views/DocumentViewSkeleton.test.ts | Go to diff View file | ||
A | plugins/artidoc/scripts/artidoc/src/components/SectionDescriptionSkeleton.vue | +33 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactId.test.ts | +17 | β16 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactId.vue | +14 | β1 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactIdSkeleton.test.ts | +31 | β0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactIdSkeleton.vue | +25 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/TableOfContents.test.ts | +55 | β39 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/TableOfContents.vue | +4 | β4 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/helpers/artidoc-section.factory.ts | +2 | β2 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/index.ts | +6 | β0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/stores/sectionsStoreKey.ts | +22 | β0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/stores/useSectionsStore.ts | +68 | β0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/views/DocumentView.test.ts | +26 | β29 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/views/DocumentView.vue | +3 | β42 | Go to diff View file |
D | plugins/artidoc/scripts/artidoc/src/views/DocumentViewSkeleton.vue | +0 | β65 | Go to diff View file |