[ 
http://jira.xwiki.org/jira/browse/XE-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_19202
 ] 

Marius Dumitru Florea commented on XE-37:
-----------------------------------------

Vincent,

I like the idea of using panel boxes for different statistics (both textual and 
graphical), much the same jira does. Thomas told me that I can create panels 
under the Panels space and include them in the Stats page. Laurent Lunati is 
working for the css of the "in page" panels. You can see a sample at 
http://llunati.xwiki.com/xwiki/bin/view/Albatross/PanelInPage. For this panels 
to work I need to add  more functionality to the 
com.xpn.xwiki.stats.api.XWikiStatsService interface.

For the textual statistics I propose:

getTopPages(String action, String space, int count) // all time total
getMonthTopPages(String action, String space, Date month, int count)
getDayTopPages(String action, String space, Date day, int count)

getTopContributors(String space, int count) // all time total
getMonthTopContributors(String space, Date month, int count)
getDayTopContributors(String space, Date day, int count)

For the graphs I propose:

getActivityPerDay(String action, String docOrSpaceName, Date startDay, Date 
endDay, int dayInterval)
getActivityPerMonth(String action, String docOrSpaceName, Date startMonth, Date 
endMonth, int monthInterval)

I'll write a mail to devs list but I wanted to discuss it first on the jira.

Now some other questions:
* Will the user be able to change this stats from the interface (e.g. by 
selecting the space or document from a [combo]list or choosing the start day 
from a calendar) or by editing the page?
* What chart plugin should I use? Sergiu goes for the one currently used, but 
Jerome would like this one http://simile.mit.edu/timeplot/

The up/down arrow in the most viewed pages tells how the page rank changed from 
the previous time period (e.g. +2 positions)

I'm waiting for your opinion and then I'll write to devs.

Thanks,
Marius

> Improve the statistics page to display most viewed pages, most edited pages 
> and best contributors with graphs and history
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XE-37
>                 URL: http://jira.xwiki.org/jira/browse/XE-37
>             Project: XWiki Enterprise
>          Issue Type: Improvement
>          Components: Statistics Application
>    Affects Versions: 1.0
>            Reporter: Vincent Massol
>         Assigned To: Marius Dumitru Florea
>             Fix For: 1.2 M2
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to