stable

Clone or download

Read-only

Refactoring: create Column vuex module

In order to not clutter too much the root state, move all columns related actions and mutations to the brand new "column" module. No functional changes. Part of story #13799: Expand / collapse columns Change-Id: Ia25b91b665e84eb05534ae3ab40a9fe2cf66ea58

Modified Files

Name
M plugins/taskboard/scripts/taskboard/index.ts +6 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/App.test.ts +5 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/App.vue +2 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/CardWithChildren.test.ts +16 −13 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/CardWithChildren.vue +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/CollapsedSwimlane.test.ts +18 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/CollapsedSwimlane.vue +3 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/InvalidMappingSwimlane.test.ts +2 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/InvalidMappingSwimlane.vue +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Skeleton/SwimlaneSkeleton.test.ts +14 −11 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Skeleton/SwimlaneSkeleton.vue +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloSwimlane.test.ts +2 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloSwimlane.vue +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.test.ts +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.vue +2 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/Collapsed/ExpandButton.test.ts +21 −17 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/Collapsed/ExpandButton.vue +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/Expanded/CollapseButton.test.ts +21 −17 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/Expanded/CollapseButton.vue +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/TaskBoardHeader.test.ts +6 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/TaskBoardHeader.vue +3 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/actions.test.ts +0 −33 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/actions.ts +0 −33 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/column/column-actions.test.ts +75 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/column/column-actions.ts +56 −0 Go to diff View file
R plugins/taskboard/scripts/taskboard/src/store/mutations.test.ts Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/column/column-mutations.ts +39 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/column/index.ts +35 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/column/type.ts +24 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/index.ts +7 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/mutations.ts +0 −19 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-getters.test.ts +6 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-getters.ts +4 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/type.ts +2 −2 Go to diff View file