19

Small little QOL suggestion here.

In the review page, I think it would be nice to have a UI element to show how many reviews you've done for that queue today, rather than having to navigate to the stats page for that specific type of review.

Might look a little something like this (apologies for crappy mockup)

enter image description here

Perhaps we could even add icons for which badges you have for those queues? Of course, it shouldn't be too cluttered.

Maybe I'm just overthinking this and it's completely unnecessary, but there are a number of times when I've thought to myself that something like this could be useful.

3

1 Answer 1

2

I've modified @rene's userscript in this similar question, to work on the review page.

This is what it looks like.

enter image description here

Tested in Chrome with Tampermonkey. It should work fairly well, but let me know if it acts up.

// ==UserScript==
// @name         Review Queue Stats
// @namespace    http://stackoverflow.com/users/2278598/andrew-brooke
// @version      0.1
// @description  UI tweak to StackOverflow review queue page
// @author       Andrew Brooke
// @match        http://stackoverflow.com/review
// @grant        none
// ==/UserScript==

(function($, window) {

    $('.dashboard-item').each(function () {
        var url,
            progressHTML = $('<div class="dashboard-num-today"></div>')
        .html('...')
        .css('text-align','center')
        .css('color','#75845C')
        .css('padding-top','8px');

        url = $(this).find('.dashboard-activity-more').attr('href');

        $.get(url, function (data) {
            var html = $(data),
                td = html.find('td.review-stats-count-current-user:first');
            if(td.text() != "")
                progressHTML.html(td.text() + '/&nbsp;20');
            else
                progressHTML.html('');
        });

        $(this).find('.dashboard-count').append(progressHTML);

    });

}($ || unsafeWindow.$, window || unsafeWindow));

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .