Open pvi-github opened 2 weeks ago
After a check i'd suspect that this issue is linked to #1715 : the sorting of priorities seem common to all view modes (Kaban, list, table).
So working on this sorting of priorities might bring good in all view modes.
And by the way adding a table with priorities as suggested might also help to deal with #1199 => Adding the ability to edit the table would be rather simple but if we want to let project managers customize priorities by project we would need to add a column with project id.
Totally agree. We need a sorting option. There are a couple places where this will have downstream effects. I would like to "htmx-fiy" the page first so that all of that can happen asynchronously.
Is your feature request related to a problem? Please describe.
When displaying Kanban with a url like this : wwww/showKanban?search=true&projectId=8&sprint=all&type=story&groupBy=priority
The result is that priorities are listed in alpha order like this :![image](https://github.com/Leantime/leantime/assets/434725/65affd30-81e7-4e38-98a9-8b3bfed9c93a)
Alas such order puts low and lowest above medium, not speaking of unpriorized put at the end while it might be of the utmost importance.
Describe the solution you'd like I suggest that we add a sorting capacity to function :
in app/Domain/Tickets/Services/Tickets.php
And a default sorting order in function
We might have to add a table with priorities with sorting order, id and label if we want to make things neat.
And this could be used more largely than just priorities.
In due end adding the possibility to define sorting options in user interface would be ideal. But this can be done in an other time.![image](https://github.com/Leantime/leantime/assets/434725/8df75a19-7ca5-41c1-bf59-b53b44fc42d9)
What do you think ?
PVI
Additional context
Nothing more.