Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 291991 - allow sections to be nested
Summary: allow sections to be nested
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.3   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 290616
  Show dependency tree
 
Reported: 2009-10-10 19:31 EDT by Steffen Pingel CLA
Modified: 2009-10-15 19:03 EDT (History)
1 user (show)

See Also:


Attachments
patch (16.12 KB, patch)
2009-10-12 06:26 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (93.06 KB, application/octet-stream)
2009-10-12 06:26 EDT, Steffen Pingel CLA
no flags Details
possible fix (3.39 KB, patch)
2009-10-15 17:20 EDT, Robert Elves CLA
no flags Details | Diff
mylyn/context/zip (1.69 KB, application/octet-stream)
2009-10-15 17:20 EDT, Robert Elves CLA
no flags Details
slightly simplified patch (3.47 KB, patch)
2009-10-15 19:02 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (18.28 KB, application/octet-stream)
2009-10-15 19:02 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2009-10-10 19:31:03 EDT
In order to reduce the number of top-level sections and clutter in the task editor it should be possible to next sections, e.g. make Team Planning a sub-section of Attributes.
Comment 1 Steffen Pingel CLA 2009-10-12 06:26:42 EDT
Created attachment 149349 [details]
patch
Comment 2 Steffen Pingel CLA 2009-10-12 06:26:47 EDT
Created attachment 149350 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2009-10-12 06:28:47 EDT
Patch committed. The Bugzilla team planning and JIRA work log section are now sub sections of the attributes section.
Comment 4 Robert Elves CLA 2009-10-15 17:17:30 EDT
Reopening to address issue of subsections not appearing upon first open of task editor.
Comment 5 Robert Elves CLA 2009-10-15 17:20:49 EDT
Created attachment 149685 [details]
possible fix

One possible fix. Steffen, if you could review that would be great.
Comment 6 Robert Elves CLA 2009-10-15 17:20:51 EDT
Created attachment 149686 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2009-10-15 19:02:25 EDT
Created attachment 149697 [details]
slightly simplified patch

Looks good. I made a small change that removes the recursive invocation of initializePart() and checks the parent part directly instead of iterating over all parts in createSubParts().
Comment 8 Steffen Pingel CLA 2009-10-15 19:02:28 EDT
Created attachment 149698 [details]
mylyn/context/zip
Comment 9 Steffen Pingel CLA 2009-10-15 19:03:01 EDT
Committed patch.