stable

Clone or download

Read-only

Expand/Collapse column

User can now expand/collapse column. Columns are expanded by default. Given a column is collapsed, Then every cards in it are hidden. Given a solo card is in a collpased column, Then the swimlane is not shown at all. Given a column is collapsed, Then collapsed state is stored in user prefs, When user refresh the browser, Then the column is still collapsed. Given a column is expanded/collapsed for a milestone, Then it is not expanded/collapsed for another milestone. Given a column is expanded, Then it can be expanded again. Note: Cards count and vertical label will be done in a dedicated commit. Note: Anonymous users prefs issue will be handled in a dedicated commit. Part of story #13799: Expand / collapse columns Change-Id: If4d0293640494dc8dfa50f619c1a36aa0b25a39a

Modified Files

Name
M plugins/taskboard/include/Board/BoardPresenterBuilder.php +1 −1 Go to diff View file
M plugins/taskboard/include/Column/ColumnPresenter.php +11 −5 Go to diff View file
M plugins/taskboard/include/Column/ColumnPresenterCollectionRetriever.php +12 −1 Go to diff View file
M plugins/taskboard/phpunit/Column/ColumnPresenterCollectionRetrieverTest.php +28 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/po/fr_FR.po +6 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/CellForSoloCard.test.ts +50 −0 Go to diff View file
R plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloCardCell.vue Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/ColumnWithChildren.test.ts +17 −6 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/ColumnWithChildren.vue +12 −6 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Skeleton/ColumnsSkeleton.test.ts +52 −9 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Skeleton/ColumnsSkeleton.vue +14 −4 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Skeleton/SwimlaneSkeleton.vue +5 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloCard.test.ts +8 −124 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloCard.vue +6 −28 Go to diff View file
D plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloCardCell.test.ts +0 −38 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloSwimlane.test.ts +194 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloSwimlane.vue +75 −0 Go to diff View file
D plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/__snapshots__/SoloCard.test.ts.snap +0 −58 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/__snapshots__/SoloSwimlane.test.ts.snap +58 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.vue +3 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/__snapshots__/TaskBoardBody.test.ts.snap +1 −1 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/CollapseButton.test.ts +76 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/CollapseButton.vue +56 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/ExpandButton.test.ts +76 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/ExpandButton.vue +56 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/TaskBoardHeaderCell.test.ts +57 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/TaskBoardHeaderCell.vue +22 −7 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/WrongColorPopover.vue +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/__snapshots__/TaskBoardHeaderCell.test.ts.snap +58 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Header/__snapshots__/WrongColorPopover.test.ts.snap +3 −1 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/actions.test.ts +120 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/actions.ts +72 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/index.ts +2 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/mutations.test.ts +50 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/mutations.ts +38 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.d.ts +1 −0 Go to diff View file
M plugins/taskboard/themes/includes/_body.scss +8 −2 Go to diff View file
M plugins/taskboard/themes/includes/_header.scss +22 −0 Go to diff View file