I have a list which has a few tasks. Each of these tasks has 2 layers of subtasks (so, subtasks which has their own subtasks). When I choose Gantt view for this list and start with the “Subtasks: Collapsed” mode, I can see “Show all XX subtasks” links under each top-level task, as expected. However, when I click on a “Show all XX subtasks” link, I would expect to expand only one level of tasks. Now, all levels are expanded. If I try to collapse a single subtask from the first level, again all levels are collapsed instead of the one I just selected.
So, in ASCII art terms. My full task hierarchy:
.
├── taskA
│ ├── subtask1
│ │ ├── subtask1.1
│ │ ├── subtask1.2
│ │ └── subtask1.3
│ └── subtask2
│ ├── subtask2.1
│ ├── subtask2.2
│ └── subtask2.3
└── taskB
Initial Gantt view:
.
├── taskA
│ > Show 8 subtasks
└── taskB
After clicking on Show 8 subtasks
:
Current:
.
├── taskA
│ ├── subtask1
│ │ ├── subtask1.1
│ │ ├── subtask1.2
│ │ └── subtask1.3
│ └── subtask2
│ ├── subtask2.1
│ ├── subtask2.2
│ └── subtask2.3
└── taskB
Expected:
- Instead of
Show 8 subtasks
, the link should beShow 2 subtasks
- After clicking on
Show 2 subtasks
, the view should be:
.
├── taskA
│ ├── subtask1
│ │ > Show 3 subtasks
│ └── subtask2
│ > Show 3 subtasks
└── taskB