Bug 7495

Summary: RRS: Add totals in Maintainer statistics page
Product: [Yocto Project Subprojects] Recipe Reporting System (RRS) Reporter: Aníbal Limón <anibal.limon>
Component: Recipe Reporting System (RRS)Assignee: Mariano Lopez <mariano.lopez>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: enhancement    
Priority: Medium CC: anibal.limon, belen.barros.pena, bogdanx.a.voiculescu, sgw
Version: 1.9   
Target Milestone: 1.9 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
totals.png none

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