stable
Clone or download
Read-only
Part of story #13799: Expand / collapse columns In order to be consistent with the behavior of expand/collapse columns (stored in user preferences), we need to change the expand/collapse of swimlanes. There isn't anymore automagic collapse when the card is closed. Instead we collapse only when the user decides to. In addition, now we always load children of parent cards (even if it is collapsed) because we will display the total number of cards in a column. It is not ecofriendly, but since we suppose that there won't be that much collapsed swimlane on a given taskboard, it is best to not clutter much the data retrieval algorithm. Sorry, rainforest 🙀 Change-Id: I5f694fc30ba6e813cfb4072af3a03895356babde
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/taskboard/include/REST/v1/CardRepresentation.php | +8 | −1 | Go to diff View file |
M | plugins/taskboard/include/REST/v1/CardRepresentationBuilder.php | +9 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/index.ts | +3 | −2 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/CardWithChildren.test.ts | +1 | −2 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Header/SwimlaneHeader.test.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Header/SwimlaneHeader.vue | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.test.ts | +12 | −12 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.vue | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/error/error-actions.test.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/error/error-actions.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/error/index.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/fullscreen/index.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/index.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/mutations.ts | +3 | −3 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/swimlane/index.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.test.ts | +84 | −77 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.ts | +48 | −9 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-mutations.test.ts | +4 | −4 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-mutations.ts | +2 | −2 | Go to diff View file |
A | plugins/taskboard/scripts/taskboard/src/store/type.d.ts | +40 | −0 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/store/user/index.ts | +1 | −1 | Go to diff View file |
M | plugins/taskboard/scripts/taskboard/src/type.d.ts | +1 | −10 | Go to diff View file |
M | plugins/taskboard/tests/rest/TaskboardTest.php | +1 | −0 | Go to diff View file |