bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Show numbers in tabs for the locale home screen

NEW
Unassigned

Status

Webtools
Pontoon
P3
normal
10 months ago
10 months ago

People

(Reporter: Eduardo Trápani, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 months ago
If I visit the main page for my locale https://pontoon.mozilla.org/eo/ I see Contributors, Bugs and Info without a number.

When I click on the Bugs tab for example, I see the number of bugs and it stays there when I go to the other tabs.

Would it be possible to show the numbers in the tabs when the page is first loaded? Then, after the click the tabs could be populated. For Bugs particularly it would be nice to see the number right away.

The behaviour seems to be already implemented: if I go directly to https://pontoon.mozilla.org/eo/bugs/ then Projects tab (and only that one) shows the number of projects, and loads them when I click on it.
We currently only show the number for the Projects and the Info tab, because these numbers are cheap (we can get them fast). Similarly, we show the number for Teams and Resources in the Project and Localization Dashboards.

Getting numbers for Bugs and Contributors is a little bit more expensive, because the former requires an API call to the external service (BugZilla), and the latter is very slow. That said, I believe we should still give this a try after bug 1357361 is fixed, because having these numbers should save users a bunch of clicks. We should even consider preloading content for all tabs in background once the requested tab is loaded.

Note, behaviour should be the same on Team, Project and Localization Dashboards, e.g.:
https://pontoon.mozilla.org/fr/
https://pontoon.mozilla.org/projects/firefox/
https://pontoon.mozilla.org/fr/firefox/
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.