Opened 6 years ago
Closed 4 years ago
#4191 closed enhancement (fixed)
Add sorting icons to sortable header cells in translation stats pages
Reported by: | pedromendonca | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Translate Site & Plugins | Keywords: | |
Cc: |
Description
There are many pages/templates with translation stats:
- Core/Meta https://translate.wordpress.org/stats
- Plugin https://translate.wordpress.org/projects/wp-plugins/classic-editor
- Theme https://translate.wordpress.org/projects/wp-themes/twentyseventeen
- Top 100 Plugins https://translate.wordpress.org/locale/pt/default/stats/plugins
- Top 100 Themes https://translate.wordpress.org/locale/pt/default/stats/themes
While checking the code I found that all these tables are sortable by clicking on the table header cells.
It would be great to add sorting icons to all these fields, for better user experience.
For all the tables is obvious what is the value used for sorting: the shown value, either a locale name or the ammount of the cell (percent or waiting string count).
There is an exception, the new Top 100 templates, on clicking in the header cell "Plugin" or "Theme" it's sorted by the data-sort-value
of Active Installations. This should be clearer, it's not sorting by Plugin/Theme name, but by the number of active installs.
As mentioned in poylgots channel https://wordpress.slack.com/archives/C02RP50LK/p1550648111174300
In 9618: