weblate
weblate copied to clipboard
Default A-Z sort for component list
Describe the problem
Currently if you go into any component list, it will be sorted seemingly randomly. Usually though you'd probably want it to be sorted alphabetically.
Describe the solution you'd like
Component list should be sorted by component name by default.
Describe alternatives you've considered
Theoretically this could also be a separate setting in /accounts/profile/#preferences
, something like:
Component list - Default sorting order: (Component Name, Translated, Untranslated, Suggestions, etc.)
Screenshots
No response
Additional context
No response
It should be a sortable list, same as listing projects or components.
This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.
You can learn about how to get started in our contributors documentation.
I request you to assign this issue to me. As a beginner i will definately work on it to produce a worthful outcome. eager to work !
Thanks, don't hesitate to ask if anything is unclear. All of the logic (listing, sorting) is already present, it just needs to be applied on this view.
Hey Nijel, I was wondering if you could give me a lil clarification. So, based on my understanding, the rows listed in the components tab in this website must be sorted alphabetically as opposed to the random sort that in place now. Am I right?
Component lists are not used on Hosted Weblate. You can see it in action here: https://translate.fedoraproject.org/component-list/fedora-34-release/
Related code is here:
https://github.com/WeblateOrg/weblate/blob/12b1090216018c4c0fdf13ec29d47ea21ce62f33/weblate/trans/views/basic.py#L464-L480
Hii where can I see this components part on your website I can't find it. sorry I am new to open source contribution
ok found it
ok so I am a little lost here I have never done this can someone help me
This feature is not used much, see for example the Fedora site link I've posted in https://github.com/WeblateOrg/weblate/issues/7755#issuecomment-1160114460
@nijel Is this worth contributing too if it is not an issue on hosted Weblate? Should this be closed?
please assign it to me
@John-Poulos Other installations are using this feature, so it's definitely worth implementing.
@AkshatGoel-321 Thanks for your interesting, the issue is now assigned to you.