Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVEMENT] Add sorting in Kanban view at least for priorities #2555

Open
pvi-github opened this issue Jun 21, 2024 · 3 comments
Open

[IMPROVEMENT] Add sorting in Kanban view at least for priorities #2555

pvi-github opened this issue Jun 21, 2024 · 3 comments

Comments

@pvi-github
Copy link
Contributor

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

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 :

        /**
         * @param $searchCriteria
         * @return array
         * @throws BindingResolutionException
         */
        public function getAllGrouped($searchCriteria): array

in app/Domain/Tickets/Services/Tickets.php

And a default sorting order in function

        /**
         * @return array
         */
        public function getGroupByFieldOptions(): array

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

What do you think ?

PVI

Additional context

Nothing more.

@pvi-github
Copy link
Contributor Author

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.

@pvi-github
Copy link
Contributor Author

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.

@marcelfolaron
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants