stable

Clone or download

Read-only

feat: provide title and description information

In order to be able to create new sections, user must have submit permission on title and description field. In order to avoid the "taskboard effect", where users don't know why the plus button is not displayed, here a message is displayed for the user in the configuration modal. It is only a warning and not an error because the permissions differ from user to user according to their memberships. To test remove the submit permission for title, description, or both. Open the configuration modal => you should see a warning. Part of story #38288: add a new section Change-Id: I4c8495de83f03e95f42522df248f86b5362984af

Modified Files

Name
M plugins/artidoc/include/Artidoc/ArtidocController.php +4 −4 Go to diff View file
A plugins/artidoc/include/Artidoc/Document/Tracker/DocumentTrackerFieldRepresentation.php +33 −0 Go to diff View file
M plugins/artidoc/include/Artidoc/Document/Tracker/DocumentTrackerRepresentation.php +20 −2 Go to diff View file
M plugins/artidoc/scripts/artidoc/po/fr_FR.po +22 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.vue +1 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationPanel.vue +1 −1 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/configuration/IntroductoryText.test.ts +56 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/IntroductoryText.vue +40 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/ConfigurationStoreStub.ts +4 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/configuration-store.ts +2 −0 Go to diff View file
A plugins/artidoc/tests/unit/Artidoc/Document/Tracker/DocumentTrackerRepresentationTest.php +214 −0 Go to diff View file
M plugins/artidoc/tests/unit/Artidoc/Document/Tracker/SuitableTrackerForDocumentCheckerTest.php +1 −1 Go to diff View file