Closed Bug 1369976 Opened 7 years ago Closed 5 years ago

[translate] Add ability to sort resources by completion in the resource menu

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tomer, Assigned: nadinda, Mentored)

References

Details

(Whiteboard: outreachyround19)

Attachments

(2 files)

Attached image Screenshot
When a locale is in a good health in Pontoon, most of its resources are 100% translated and translators have to seek for incomplete resources. I suggest having some predefined filters in the resources search field so the translator could easily filter out completed resources, so incomplete resources will be more visible. 

It might be also useful if it could be possible to sort resources by their completion percentage or by a predefined priorities order (so browser and toolkit will be listed before devtools because of their importance, which could be created by drivers using set of regular expressions).
FWIW, you can click on the "Progress" header to sort by completion, and then search for resource to drill down the list.

It'd be nice to have deep links to that, too, though.
Sorting from the progress header on the project page is indeed possible, but requires few more clicks than just clicking on the right resource from the resources menu and much less visible. Given that said, since sorting is already implemented on the projects page, I am leaving it for you to decide if it worth implementing or WONTFIX.
As Axel pointed out, dashboard allows you to sort resources by completion. Adding a complete/incomplete filter would still require additional click to get to the expect result. We could add deeps links, though - e.g. https://pontoon.mozilla.org/he/firefox/?sort=-progress. 

We should however implement sorting by completion in the resource selector of the translation interface. If you translate Firefox with its 300+ resources, finding 5 files with missing strings in that menu is tedious. I'm keeping this open as a mentored bug.

Affected files:
https://github.com/mozilla/pontoon/blob/master/pontoon/localizations/templates/localizations/widgets/resource_selector.html
https://github.com/mozilla/pontoon/blob/master/pontoon/base/static/css/translate.css
https://github.com/mozilla/pontoon/blob/master/pontoon/base/static/js/translate.js
Mentor: m
Priority: -- → P3
Summary: [pontoon] Hide completed resources → [translate] Hide completed resources
Summary: [translate] Hide completed resources → [translate] Add ability to sort resources by completion in the resource menu
See Also: → 1474264

Hello, I'm nadinda, an outreachy internship applicant. I would like to try to work on this issue.

Assignee: nobody → dinda.rachmat
Status: NEW → ASSIGNED

We're getting lots of requests by Outreachy participants, so we often run out of Mentored bugs. We've decided to unassign all Mentored bugs until the assignee sets up a development environment.

Please send us a screenshot of your working development environment via #pontoon on Mozilla IRC and we'll assign you a Mentored bug afterwards.

Thanks for understanding!

Assignee: dinda.rachmat → nobody
Status: ASSIGNED → NEW

Thanks for the confirmation, assigning back!

I'll followup with more details via email.

Assignee: nobody → dinda.rachmat
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: outreachyround19
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: