Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321840 - group subtasks within 'Scheduled' Task List presentation
Summary: group subtasks within 'Scheduled' Task List presentation
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P2 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 248988 (view as bug list)
Depends on:
Blocks: 248377 354528
  Show dependency tree
 
Reported: 2010-08-05 05:54 EDT by Chris Beams CLA
Modified: 2012-02-10 01:37 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Beams CLA 2010-08-05 05:54:21 EDT
Environment:  STS 2.3.3.M1 (Mylyn 3.4)

Repro steps:

1) Create a local issue A
2) Create a subtask B for that issue
3) Select 'Categorized' within the Task List view
4) Check 'Group Subtasks'
5) Notice that subtask B is grouped under A as expected
6) Schedule A and B for 'This Week'
6) Select 'Scheduled' within the Task List view
7) Notice that A and B are not grouped as expected, but rather appear as top-level issues

This was surprising for me.  Subtask grouping is an important feature, and the Scheduled view is probably even more important, but they fall apart when mixed.

It's not uncommon to have an issue with many subtasks; if they're all scheduled for this week, the effect can be overwhelming, especially when dealing with several tasks each with their own subtasks.
Comment 1 Steffen Pingel CLA 2010-08-06 17:04:58 EDT
An important feature of the scheduled presentation is that it is never supposed to show duplicates. For bug trackers such as Bugzilla that support arbitrary linking of tasks showing relationships can break that expectation. That said for bug trackers that have a strict subtask hierarchy like Rally I believe the scheduled presentation will actually show subtasks under the parent task.

I agree that there are cases when it would be useful to support grouping in the scheduled presentation. I'll ad this task to bug 248377 so we consider this when we look at a redesign of the content provider.
Comment 2 Steffen Pingel CLA 2010-08-06 17:05:42 EDT
*** Bug 248988 has been marked as a duplicate of this bug. ***
Comment 3 Jeff CLA 2010-08-06 18:19:50 EDT
(In reply to comment #1)
I just want to add that this problem (distinguishing subtasks in the Scheduled view) applies to Local Tasks, which are all that I'm using, so I hope this can be straightened out despite how the real bug trackers mentioned in your comment work.
Comment 4 Mik Kersten CLA 2011-02-25 15:54:14 EST
Let's discuss for 3.6.
Comment 5 Mik Kersten CLA 2011-04-21 18:22:28 EDT
Steffen: Where are we at on this front?  I really miss this feature from the 1 day that I had it.  Tentatively putting on for 3.7.
Comment 6 Steffen Pingel CLA 2011-05-06 16:00:30 EDT
There is a still conceptual problems that we have to work out before we can enable this:

* It is unclear in what order to show tasks, e.g. if a subtask is scheduled before its parent task
* Drag and drop becomes complicated, e.g. if  a parent task is moved, does that reschedule subtasks as well
* If we force hierarchies this would lead to duplicates

These are just from the top of my head but there is probably more that I'm missing.
Comment 7 Mik Kersten CLA 2011-06-15 11:50:22 EDT
(In reply to comment #6)
> There is a still conceptual problems that we have to work out before we can
> enable this:

Good points.  I think we need to lean to simplicity here to make it feel more like typical tree views in Eclipse, even though we do have some different display algorithms to deal with, like guranteed visibility.

> * It is unclear in what order to show tasks, e.g. if a subtask is scheduled
> before its parent task

This seems like a pretty standard sorting problem.  I think that it has to do the simpler thing of sorting each level independently, as we see with sorters in other hierarchical views in Eclipse.  In other words, scheduling dates of subtasks do not affect sorting of the parent.  Subtasks then get sorted by their date within their parent.

> * Drag and drop becomes complicated, e.g. if  a parent task is moved, does that
> reschedule subtasks as well

I think it should be similar to the above.  Only the parent task gets it's scheduled date set.  

> * If we force hierarchies this would lead to duplicates

This is where things get more complex.  What's a good example scenario here, two tasks are scheduled for this week, and two of their children are scheduled for today?
Comment 8 Mik Kersten CLA 2011-07-06 02:11:13 EDT
Steffen: Any comments on this?  I still see this as a significant impediment to the Scheduled presentation for use on repositories that make strong use of hierarchy (eg, anything involving Agile planning).  Also, I think getting the design right will help us refine the Task List design, since it will determine whether the Scheduled presentation supports hierarchical task schemas.
Comment 9 Mik Kersten CLA 2011-07-14 01:05:17 EDT
Steffen: Any thoughts on this?
Comment 10 Steffen Pingel CLA 2011-07-21 16:54:10 EDT
(In reply to comment #7)
> > * It is unclear in what order to show tasks, e.g. if a subtask is scheduled
> > before its parent task
> 
> This seems like a pretty standard sorting problem.  I think that it has to do
> the simpler thing of sorting each level independently, as we see with sorters in
> other hierarchical views in Eclipse.  In other words, scheduling dates of
> subtasks do not affect sorting of the parent.  Subtasks then get sorted by their
> date within their parent.

Would you expect nesting to work only within the bucket or should subtasks always pull in their parent task regardless of its scheduling status? Should all subtasks of a scheduled task always show or just the ones that are scheduled?

My sense is that we should always enforce that everything shown under a bucket matches its scope, e.g. all tasks regardless of their level in the hierarchy should be scheduled for Today.

> > * Drag and drop becomes complicated, e.g. if  a parent task is moved, does
> that
> > reschedule subtasks as well
> 
> I think it should be similar to the above.  Only the parent task gets it's
> scheduled date set.

Then subtasks remain in the previous bucket or do they move as well? What scopes visibility of subtasks?

> > * If we force hierarchies this would lead to duplicates
> 
> This is where things get more complex.  What's a good example scenario here, two
> tasks are scheduled for this week, and two of their children are scheduled for
> today?

It depends on the criteria for showing subtasks or parent tasks. If we enforce that all tasks under a bucket match its scope duplicates become a non-issue.
Comment 11 Mik Kersten CLA 2011-09-28 01:07:52 EDT
Steffen: Can we consider this for the 3.7 plan/backlog?
Comment 12 Steffen Pingel CLA 2011-09-28 01:53:58 EDT
Yes, it's marked as plan and hence I consider this item to be on the release backlog.
Comment 13 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn