Bug 7495 - RRS: Add totals in Maintainer statistics page
Summary: RRS: Add totals in Maintainer statistics page
Status: VERIFIED FIXED
Alias: None
Product: Recipe Reporting System (RRS)
Classification: Yocto Project Subprojects
Component: Recipe Reporting System (RRS) (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.9 M1
Assignee: Mariano Lopez
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-03-19 23:02 UTC by Aníbal Limón
Modified: 2015-09-03 12:11 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
totals.png (157.35 KB, image/png)
2015-04-09 12:28 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aníbal Limón 2015-03-19 23:02:56 UTC

    
Comment 1 Belen Barros Pena 2015-03-20 09:55:55 UTC
This will need a bit of design. Not much: just a little bit
Comment 2 Aníbal Limón 2015-04-08 22:06:37 UTC
A first version of total are available at,

http://recipes.yoctoproject.org/rrs/maintainers/1.9/All/
Comment 3 Belen Barros Pena 2015-04-09 12:28:16 UTC
(In reply to comment #2)
> A first version of total are available at,
> 
> http://recipes.yoctoproject.org/rrs/maintainers/1.9/All/

Couple of small comments:

* I don't think we should be marking the footer cells using <th> (those are table headings), but <td>. 

* We should probably turn some of the totals into links:

- the total of assigned recipes would be a link to the 'Recipes upstream status' tab, with both filters set to all

- the total up-to-date recipes would be a link to the 'Recipes upstream status' tab, with the 'Upstream status' filter set to 'Up-to-date' and the 'Maintainer' filter set to 'All'

- the total not updated recipes would be a link to the 'Recipes upstream status' tab, with the 'Upstream status' filter set to 'Not updated' and the 'Maintainer' filter set to 'All'

- the total can't be updated recipes would be a link to the 'Recipes upstream status' tab, with the 'Upstream status' filter set to 'Can't be updated' and the 'Maintainer' filter set to 'All'

- the total unknown recipes would be a link to the 'Recipes upstream status' tab, with the 'Upstream status' filter set to 'Unknown' and the 'Maintainer' filter set to 'All'

* The blue font for the links in bold becomes hard to read, so instead of using the bold font style, maybe we can introduce a highlight colour. Since we already use #fcf8e3 to highlight the current milestone, it might make sense to reuse that colour for highlighting the totals. We just need to add:

.totalRow { background-color: #fcf8e3; } 

to the rrs-additional.css file

I've attached a screenshot of how this would look like.
Comment 4 Belen Barros Pena 2015-04-09 12:28:33 UTC
Created attachment 2471 [details]
totals.png
Comment 6 Belen Barros Pena 2015-04-16 12:47:21 UTC
This looks good to me. Thanks!!
Comment 7 Bogdan Alexandru Voiculescu 2015-09-03 12:11:46 UTC
verified