stable

Clone or download

Read-only

Suggest add-in-place only when it is possible

part of: story #14148 Add in place a child card How to test: - add-in-place button shows up on hover only when: --> The swimlane tracker has exactly one child tracker --> Its child tracker has its semantic title set --> User has submission permission on field bound to semantic title --> Semantic title field is the only field required by the tracker Change-Id: I316d4ba9e0f97fb48ceb36cc7febc99e2e6f49f9

Modified Files

Name
A plugins/taskboard/include/Tracker/AddInPlaceTrackerRetriever.php +74 −0 Go to diff View file
M plugins/taskboard/include/Tracker/TrackerPresenter.php +5 −1 Go to diff View file
M plugins/taskboard/include/Tracker/TrackerPresenterCollectionBuilder.php +22 −8 Go to diff View file
M plugins/taskboard/phpunit/Board/BoardPresenterTest.php +3 −1 Go to diff View file
A plugins/taskboard/phpunit/Tracker/AddInPlaceTrackerRetrieverTest.php +226 −0 Go to diff View file
M plugins/taskboard/phpunit/Tracker/TrackerPresenterCollectionBuilderTest.php +14 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/ColumnWithChildren.test.ts +15 −10 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/ColumnWithChildren.vue +9 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/getters.test.ts +20 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/getters.ts +13 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.ts +1 −0 Go to diff View file