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

Bug 194070

Summary: Query/category tooltip should show number of open issues
Product: z_Archived Reporter: Eugene Kuleshov <ekuleshov>
Component: MylynAssignee: Eugene Kuleshov <ekuleshov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
"open" label and few other tweaks
none
mylyn/context/zip
none
updated patch
none
updated patch (again) none

Description Eugene Kuleshov CLA 2007-06-22 17:40:39 EDT
Query/category tooltip should show number of open issues, so user won't have to do the math on 4 digit numbers to figure out how many open issues in given query/category:

Open [x] / Completed [x] / Total [x]
Comment 1 Robert Elves CLA 2007-06-22 17:42:31 EDT
+1
Comment 2 Eugene Kuleshov CLA 2007-06-23 12:31:19 EDT
Created attachment 72244 [details]
"open" label and few other tweaks

Attached patch implement the following tweaks:

-- Adds Open/Completed/Total
-- Adds day of week to the "Sheduled for"
-- Moves error text to the bottom of tooltip

BTW, there is no real need to use custom widget for the progress bar. If there is no need for custom drawing,  SWT ProgressBar widget is working just fine, and don't require extra Composite to control its size.
Comment 3 Eugene Kuleshov CLA 2007-06-23 12:31:21 EDT
Created attachment 72245 [details]
mylyn/context/zip
Comment 4 Mik Kersten CLA 2007-06-24 17:48:57 EDT
Patch will need to be re-created due to fixes for bug 193870.  

+1 for the suggestion in the description. 

-1 for the standard SWT progress bar because this needs to be consistent with the Task Progress bar, which is consistent with the JUnit progress bar and not with the SWT progress bar.
Comment 5 Eugene Kuleshov CLA 2007-06-24 18:14:25 EDT
Created attachment 72308 [details]
updated patch

Here is updated patch

One more improvement would be to show icon from the task list (query/category/task) on the first rowm and move issue tracker icon into second row. Though I am not sure how to get task list icon...

Also, it would be a good idea to extract all rendering into a separate Composite component. So, it would be easier reuse it for showing tooltips in other places.
Comment 6 Mik Kersten CLA 2007-06-25 00:52:04 EDT
Unfortunately the source clean-up made this patch stale (again) and it has too many conflict for me to merge manually.  I expect that it will just be a straightforward synch and re-create on your end.
Comment 7 Eugene Kuleshov CLA 2007-06-25 00:59:58 EDT
Created attachment 72322 [details]
updated patch (again)
Comment 8 Mik Kersten CLA 2007-06-25 02:12:27 EDT
Patch applied, with some finessing for readability and since "Open" is not part of our common terminology.