Alphabetization of Splash Pages for non-English languages

Bug #1818927 reported by Terran McCanna
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Wishlist
Unassigned

Bug Description

Splitting this suggestion from Jane Sandberg off from the earlier Bug #1803790:

Currently the Local Administration and Server Administration splash page menus are alphabetized for English users. It would be nice if they could be alphabetized regardless of the language being used.

Tags: i18n
Revision history for this message
Remington Steed (rjs7) wrote :

Template Toolkit has a "sort" method for sorting lists. I'm not certain how the "l()" function works, but if it returns a string that TT knows how to sort properly, then we might be able to modify the "interfaces" array to make it easily sortable by the localized label (array of hashes?), then just sort it before sending it to the "table" plugin.

Eva Cerninakova (ece)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Eva Cerninakova (ece) wrote :

The alphabetical sorting for non English languages is good idea, however, when I consider it from a practical point of view, it might not be the best solution for every cases due to translations.

For example following items:

   MARC Coded Value Maps
   MARC Import Remove Fields
   MARC Record Attributes
   MARC Search/Facet Class FTS Maps
   MARC Search/Facet Classes
   MARC Search/Facet Field FTS Maps
   MARC Search/Facet Fields
   MARC Tag Tables

are translated to Czech as

   Seznam hodnot kódů MARCu
   Pole k odebrání při importu MARC
   Atributy záznamu MARC
   FTS mapy pro třídy MARC vyhledávání/faset
   Vyhledávání MARC/Fasetové třídy
   FTS mapy pro MARC vyhledávání /fasety
   Vyhledávání MARC / fasetová pole
   Tabulky polí MARC

If the menu would be sorted alphabetically, it would result in items related e.g. to MARC being scattered across the list.
In a fact hhis means , the way the menu is sorted in Czech now, is not ideal, but for some items it is much more "logical" then if it would be sorted alphabetically (however, this is not true for all menu items).

I would much more prefer some kind of topical sorting or grouping of the menus.

Revision history for this message
Tiffany Little (tslittle) wrote :

+1 for topical grouping of the splash pages.

Revision history for this message
Remington Steed (rjs7) wrote :

I've also thought it could be useful to have an auto-complete search box that takes you to admin pages. For example, you type "MARC" and it lists all the admin pages with MARC in the name (and clicking or selecting one takes you to that page). (It could contain other menu items, not just admin pages.) This is similar to the fairly new Microsoft Office "Tell me what you want to do" search box on the menu row.

Revision history for this message
Bill Erickson (berick) wrote :

I'm looking at this for the Angular interfaces. My plan is to sort the links in real time based on the label by default.

I'll also add support for a translatable "sortKey" value which, when present, will be used as the primary sort key for a group of fields that will then be sorted within the group by label.

For example, all of the MARC-related links will get a sortKey of "marc" so they remain grouped regardless of the link label. Translators can change the value of "marc" to improve placement in the overall page as needed.

Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :

Angular edition pushed:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1818927-admin-splash-sorting

Includes stock sortKey values for the server admin page.

Note bug #1837059 will require a similar treatment, depending on which is merged first.

Changed in evergreen:
assignee: Bill Erickson (berick) → nobody
Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.