srophe / syriaca

Public respository for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
3 stars 2 forks source link

New Tabs and Language Options for CBSS Browse page #184

Open wsalesky opened 3 months ago

wsalesky commented 3 months ago

@wlpotter @davidamichelson Did we make any decisions about the browse page? I seem to remember the default being browse by author? Do we need the different language tabs? Anything else?

davidamichelson commented 2 months ago

Please make the following changes to https://dev.syriaca.org/cbss/browse.html

  1. Greek (using these letters Α-Ω for the tab) "Α-Ω" is in unicode so please use exactly these, not the latin A
  2. Cyrillic (using these letters А-Я for the tab) А-Я is in unicode so please use exactly these, not the latin A
  3. Hebrew (using these letters א-ת‎ for the tab) Due to Right to Left (א should display on the right of the dash
  4. Armenian (using these letters Ա-Ֆ for the tab)

Please order the tabs horizontally in this order with English on the far left and Syriac on the far right:

A-Z А-Я Α-Ω Ա-Ֆ א-ת‎ ا-ي ܐ-ܬ

(I list them vertically here in the issue just so the order is clear, the github text box is freaking out about the list having multiple right to left languages in it).

Next, there are some issues with how the browse results are being filtered or sorted.

It looks like the current alphabetical filter is running on the first name rather than the last name. Can we fix that please? Please use:

Next it looks like the sorting by language is not working as expected. I will create a separate issue for that.

davidamichelson commented 2 months ago

Wow, now the RTL issue won't let me edit the box at all :)

So I am completing my thoughts from above here.

Next, there are some issues with how the browse results are being filtered or sorted.

It looks like the current alphabetical filter is running on the first name rather than the last name. Can we fix that please? Please use: /TEI/text/body/biblStruct/analytic/author/surname (first letter of surname text string)

Next it looks like the sorting by language is not working as expected. I will create a separate issue for that.

wlpotter commented 2 months ago

just an fyi on the name sorting, not all the records will have forename and surname; e.g., https://dev.syriaca.org/cbss/35F77WHT. So I think prefer sort by tei:surname, but backup would be sort by tei:name