libkiwix icon indicating copy to clipboard operation
libkiwix copied to clipboard

Sort library categories differently

Open Ubuntu-2020 opened this issue 4 years ago • 7 comments

I suggest changing the sorting by category. Now the sorting is in the English alphabet: A-B-C - etc.: Library-Kiwix 2 0 1-1 appimage

I suggest changing this list to look like this:

  • All
  • Wikipedia
  • Wikinews
  • Wikiversity
  • Wikivoyage
  • Wikiquote
  • Wikisource
  • Wiktionary
  • Vikidia
  • Psiram
  • Stack Exchange
  • Other

PS: maybe you should delete Psiram?

Ubuntu-2020 avatar Jul 22 '20 10:07 Ubuntu-2020

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar Oct 28 '20 22:10 stale[bot]

In the future, the list will be dynamically retrieved from the OPDS stream. See https://github.com/kiwix/kiwix-tools/issues/318. It will be decided upstream.

kelson42 avatar Jan 29 '21 12:01 kelson42

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar Jun 02 '21 16:06 stale[bot]

In kiwix/kiwix-desktop#965, im still sorting the items alphabetically. Do we use the default order as provided by libkiwix?

juuz0 avatar Jul 24 '23 14:07 juuz0

@juuz0 The order should follow the one in the OPDS stream. We have a very similar problem with https://github.com/kiwix/libkiwix/issues/980 IMO. Therefore this ticket should probably be moved on kiwix/libkiwix

kelson42 avatar Jul 26 '23 15:07 kelson42

This is not exactly the same problem. Here it is easy to found a sorting order: The category name in the current ui language. The problem with language is that it is the first thing a user will want to change if it is not its language (or a language they cannot read). We can expect that the user will interact with the category selector in a language they understand.

mgautierfr avatar Jul 26 '23 16:07 mgautierfr

@mgautierfr Yes, so first we need tomtranslate the categories and then we need to sort them (like you said).

kelson42 avatar Jul 26 '23 16:07 kelson42