stable

Clone or download

Read-only

feat: Edit/save buttons should be sticky

When the user edits a section, they should not have to scroll to reach the edit, save, or cancel button. Save and cancel buttons are now at the bottom of the section (the same than what is done on the artifact view). If on save there is an error (NotFound, GenericError, or Outdated, then the message is displayed in the footer, on top of the buttons. Part of story #37543: edit Artidoc sections Change-Id: Ic4ae7e0664ace33f6985feedd6c7c143e0c1bb59

Modified Files

Name
M plugins/artidoc/scripts/artidoc/src/components/SectionContent.vue +21 −46 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionDescriptionEditor.vue +6 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionEditorCta.test.ts +26 −59 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionEditorCta.vue +9 −25 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionEditorSaveCancelButtons.test.ts +52 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionEditorSaveCancelButtons.vue +56 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionFooter.test.ts +56 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/SectionFooter.vue +63 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionTitleWithArtifactId.vue +22 −9 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/helpers/stubs/SectionEditorStub.ts +59 −0 Go to diff View file