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

Bug 184564

Summary: show top N commands/actions on the community stats web page
Product: z_Archived Reporter: Eugene Kuleshov <ekuleshov>
Component: MylynAssignee: meghan <meghan_allen>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: mik.kersten
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
adds command usage and uses tables to display the data
none
display correctly in the Eclipse browser now none

Description Eugene Kuleshov CLA 2007-04-27 23:45:47 EDT
Show top N commands/actions on the community stats web page. Please make N big enough (i.e. 100). I may also worth to show more elements in the top views results.
Comment 1 Mik Kersten CLA 2007-05-01 20:02:16 EDT
Meghan: there may already be another bug that I filed for this?
Comment 2 meghan CLA 2007-05-09 19:38:55 EDT
hmm, I thought so too but I can't find one right now.

How does this page look?

http://www.cs.ubc.ca/~meghana/usageSummary.html

I think the top 25 commands is more reasonable than the top 100, what do you guys think.  The table will be even more useful once bug 181802 is done (remove WorkbenchWindow commands).

Let me know if you have feedback on the current page, I'll submit a patch tomorrow if I don't hear from anyone so that it can be ready for Friday.
Comment 3 Eugene Kuleshov CLA 2007-05-10 01:00:19 EDT
(In reply to comment #2)
> hmm, I thought so too but I can't find one right now.
> How does this page look?
> http://www.cs.ubc.ca/~meghana/usageSummary.html

It is a good start. We may need to tweak it, i.e. show how many users actually used each command/view.

> I think the top 25 commands is more reasonable than the top 100, what do you
> guys think.  The table will be even more useful once bug 181802 is done (remove
> WorkbenchWindow commands).

I think that 181802 need to be fixed soon, or we need to find out if actions like this org.eclipse.ui.internal.WorkbenchWindow@19521418 can actually provide some useful information.

Without that, it is hard to say how many numbers should be in that page, because all top hits are scattered within quite small percentage range (even in your example report)
Comment 4 Mik Kersten CLA 2007-05-10 15:23:31 EDT
Yes, great start Meghan, please do submit a patch.  I agree on the priority of bug 181802.  I'll take a look at it now because it might be a very quick fix.
Comment 5 meghan CLA 2007-05-10 16:25:20 EDT
Created attachment 66773 [details]
adds command usage and uses tables to display the data

This patch makes the page look a bit nicer (uses HTML tables and headings, etc.), includes the 'last modified date' and add the data about the top N (currently 25) commands.
Comment 6 Mik Kersten CLA 2007-05-10 16:48:37 EDT
Patch applied.  Looks like we're done here?
Comment 7 meghan CLA 2007-05-10 16:55:23 EDT
I think so.
Comment 8 Mik Kersten CLA 2007-05-10 17:13:53 EDT
Great stuff Meghan!
Comment 9 meghan CLA 2007-05-10 19:36:37 EDT
I forgot to add the <html> and <body> tags, so the browser inside Eclipse doesn't display it properly.  
Comment 10 meghan CLA 2007-05-10 19:38:13 EDT
Created attachment 66789 [details]
display correctly in the Eclipse browser now

Added the opening <html> and <body> tags, and the closing </html> and </body> tags so that it will display properly within the Eclipse browser.
Comment 11 meghan CLA 2007-05-10 19:39:37 EDT
I have also copied this over to mylar.eclipse.org so now when you click "View Community Statistics" on the UI Usage Report it uses the new format.
Comment 12 Mik Kersten CLA 2007-05-11 10:47:15 EDT
Excellent, patch applied.  

Meghan: is there anything left to do before we are ready to unleash this on the Mylar user community?  The only nit I have left is the too-small size of the perspective and view usage HTML sections in the editor.
Comment 13 meghan CLA 2007-05-11 15:02:28 EDT
Yes, I agree that the only thing left is fixing those parts of the UI Usage Report.  I will do that asap on bug 179813.
Comment 14 Mik Kersten CLA 2007-05-11 15:13:46 EDT
Done.
Comment 15 Eugene Kuleshov CLA 2007-06-06 15:12:03 EDT
Can we please increase number of shown stats? The editor commands are at the top of the list now and that is too obvious and not very useful information. Same issue stands for views, top 10 bring up obvious ones and don't allow to see the real juice.

BTW, I still see org.eclipse.ui.internal.WorkbenchWindow@xxxxx commands in the result.