Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 250869

Summary: [context] do not prompt to download context if only a single one is available
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: mik.kersten, robert.elves
Version: unspecifiedKeywords: helpwanted, noteworthy
Target Milestone: 3.3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mock up
none
patch
none
mylyn/context/zip
none
updated patch
none
mylyn/context/zip
none
screen shot
none
mylyn/context/zip
none
screenshot
none
updated patch none

Description Steffen Pingel CLA 2008-10-14 22:28:50 EDT
If a task is activated that has a remote context and only one context is available that context should be downloaded and activated without going through the context wizard.
Comment 1 Steffen Pingel CLA 2009-08-20 21:21:11 EDT
Created attachment 145214 [details]
mock up
Comment 2 Steffen Pingel CLA 2009-08-20 21:24:27 EDT
The idea is to get rid of the message dialog and embed the entire workflow in the context wizard. Clicking the link displays the table with all available contexts. The problem is that the wizard adds a lot of clutter with the extra messaging and icon in the title area. Any ideas how to improve that?

The alternative would be to not use a wizard and to implement a custom messaging dialog with a progress bar to display the download progress for the context attachment.
Comment 3 Steffen Pingel CLA 2009-08-20 21:29:53 EDT
Created attachment 145215 [details]
patch
Comment 4 Steffen Pingel CLA 2009-08-20 21:30:00 EDT
Created attachment 145216 [details]
mylyn/context/zip
Comment 5 Steffen Pingel CLA 2009-08-21 03:33:55 EDT
Created attachment 145235 [details]
updated patch
Comment 6 Steffen Pingel CLA 2009-08-21 03:34:07 EDT
Created attachment 145236 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2009-08-21 03:36:51 EDT
Created attachment 145237 [details]
screen shot

I couldn't find a good way to make this work with a wizard dialog. I opted to embed progress reporting in the message dialog instead similar to how wizard dialogs do this.

Mik, can you review the wording?
Comment 8 Steffen Pingel CLA 2009-08-21 03:36:54 EDT
Created attachment 145238 [details]
mylyn/context/zip
Comment 9 Steffen Pingel CLA 2009-08-21 03:38:07 EDT
Created attachment 145239 [details]
screenshot
Comment 10 Steffen Pingel CLA 2009-08-21 17:43:40 EDT
Created attachment 145325 [details]
updated patch
Comment 11 Steffen Pingel CLA 2009-08-21 17:47:15 EDT
I have committed the patch. We can review during the next meeting.
Comment 12 Mik Kersten CLA 2009-09-10 13:31:01 EDT
UI review feedback:
* "Task Activation" -> "Activate Task"
* Remove "latest"
* "Select Context from History" -> "Show all contexts"
Comment 13 Steffen Pingel CLA 2009-09-10 23:49:05 EDT
Done.