This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 250869 - [context] do not prompt to download context if only a single one is available
Summary: [context] do not prompt to download context if only a single one is available
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.3   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, noteworthy
Depends on:
Blocks:
 
Reported: 2008-10-14 22:28 EDT by Steffen Pingel CLA
Modified: 2009-09-10 23:49 EDT (History)
2 users (show)

See Also:


Attachments
mock up (20.37 KB, image/png)
2009-08-20 21:21 EDT, Steffen Pingel CLA
no flags Details
patch (16.25 KB, patch)
2009-08-20 21:29 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (1.84 KB, application/octet-stream)
2009-08-20 21:30 EDT, Steffen Pingel CLA
no flags Details
updated patch (23.31 KB, patch)
2009-08-21 03:33 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (23.22 KB, application/octet-stream)
2009-08-21 03:34 EDT, Steffen Pingel CLA
no flags Details
screen shot (12.38 KB, patch)
2009-08-21 03:36 EDT, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (23.22 KB, application/octet-stream)
2009-08-21 03:36 EDT, Steffen Pingel CLA
no flags Details
screenshot (12.38 KB, image/png)
2009-08-21 03:38 EDT, Steffen Pingel CLA
no flags Details
updated patch (17.12 KB, patch)
2009-08-21 17:43 EDT, Steffen Pingel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.