stable

Clone or download

Read-only

feat: Take into account default value for section

When a title or a description have a default value, then it should be used when we create a new section in an artidoc. Part of story #38630: Export to file Change-Id: Iabc39ad3c1bab087fbcb432803353beb0d49d09a

Modified Files

Name
R plugins/artidoc/include/Artidoc/Document/Tracker/DocumentTrackerFieldRepresentation.php Go to diff View file
A plugins/artidoc/include/Artidoc/Document/Tracker/DocumentTrackerFieldStringRepresentation.php +37 −0 Go to diff View file
A plugins/artidoc/include/Artidoc/Document/Tracker/DocumentTrackerFieldTextRepresentation.php +40 −0 Go to diff View file
M plugins/artidoc/include/Artidoc/Document/Tracker/DocumentTrackerRepresentation.php +6 −6 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/AddNewSectionButton.test.ts +6 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/pending-artifact-section.factory.ts +7 −4 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/TrackerStub.ts +4 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/configuration-store.ts +5 −0 Go to diff View file
M plugins/artidoc/tests/unit/Artidoc/Document/Tracker/DocumentTrackerRepresentationTest.php +2 −0 Go to diff View file