stable
Clone or download
Read-only
When we try to save a section, the update of the artifact might fail in a 404 (the artifact has been deleted meanwhile, or the project has been deleted, …). In that case we should incitate the user to refresh the current page since the document currently displayed is not in a clean state. Part of story #37543: edit Artidoc sections Change-Id: I86453c33a1efc071055909df182237fa102d24b0
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/artidoc/scripts/artidoc/po/fr_FR.po | +17 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/App.test.ts | +1 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.test.ts | +1 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentLayout.test.ts | +1 | −1 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/components/NotFoundError.vue | +60 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionContent.test.ts | +1 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionContent.vue | +4 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/SectionDescription.test.ts | +1 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/TableOfContents.test.ts | +1 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.test.ts | +36 | −5 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.ts | +25 | −9 | Go to diff View file |
R | plugins/artidoc/scripts/artidoc/src/helpers/InjectSectionsStoreStub.ts | Go to diff View file | ||
A | plugins/artidoc/scripts/artidoc/src/helpers/stubs/TuleapAPIFaultStub.ts | +31 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/views/DocumentView.test.ts | +1 | −1 | Go to diff View file |