This is an automated notification sent by LCG Savannah.
It relates to:
task #11151, project CDS Invenio
==============================================================================
OVERVIEW of task #11151:
==============================================================================
URL:
<http://savannah.cern.ch/task/?11151>
Summary: WebComment: enrich admin interface with some usage
stats
Project: CDS Invenio
Submitted by: simko
Submitted on: 2009-09-08 13:49
Should Start On: 2009-09-08 00:00
Should be Finished on: 2009-09-08 00:00
Category: WebComment
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: jmartinm
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Enrich WebComment Admin interface with a new menu item that would
print some stats about the use of the commenting and reviewing
facility. E.g. it should allow the admin to see N most commented
records, N most reviewed records, or N latest comments, N latest
reviews.
For this purpose, add a new menu item called e.g. `hot' (or `stats',
or `view' if you prefer) that, based on its arguments, would print the
desired metric. E.g. the top 30 most commented papers could be
invoked via:
/admin/webcomment/webcommentadmin.py/hot?comments=1&top=30
which would print the most hot papers in the clickable HS format with
some usage numbers around:
1. On the foo, 10 comments (3 users), latest at 2009-09-07 11:00:00
2. On the bar, 8 comments (7 users), latest at 2009-09-02 09:23:34
Another example: for the latest five reviews, we can have an URL like
/admin/webcomment/webcommentadmin.py/latest?reviews=1&top=5
that would print the first few words of the review:
1. On the foo, reviewed by jake (****) "This review..." on 2009-07-12
2. On the bar, reviewed by jane (**) "Not impressed..." on 2009-03-01
If we want to make the tool even more complete, then we may want to
allow selection of all papers that were commented at least M times, or
select all reviews having K stars, etc.
Since the list of output records may be long, some very simple
previous/next paging facility is needed. (Or perhaps take the
existing AJAX pager from the holding pen, once committed.)
The stats can be gathered by analysing the cmtRECORDCOMMENT
table.
Some basic user help should be added to the WebComment Admin
Guide webdoc page.
Along the way, possibly enhance existing UI, e.g. make the WebComment
Admin menu permanent across menu items. Also, possibly refactor the
current WebComment code a bit, e.g. centralize SQL in a new dblayer
file.
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
1576 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?11151>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/