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

Remove frontend table sorting #272

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Jan 18, 2024

Resolves #123, Resolves #60, Resolves #59.

Removes the faulty frontend table sorting algorithm in favor of letting the backend do the sorting.

The frontend sorting algorithm would only take
the elements on the current page into account, meaning as soon as your table spans multiple pages the sorting would be faulty.

Instead, we now immediately query the backend with a sorting parameter, same as in the old admin ui. Since we're polling every couple seconds anyway, this really just speeds things up a little bit to meet user expectations.

Removes the faulty frontend table sorting algorithm
in favor of letting the backend do the sorting.

The frontend sorting algorithm would only take
the elements on the current page into account, meaning
as soon as your table spans multiple pages the sorting
would be faulty.

Instead, we now immediately query the backend with a sorting parameter, same as in the old admin ui. Since
we're polling every couple seconds anyway, this really
just speeds things up a little bit to meet user expectations.
@Arnei Arnei added the type:bug Something isn't working label Jan 18, 2024
@gregorydlogan gregorydlogan self-assigned this Feb 22, 2024
@gregorydlogan gregorydlogan merged commit adbb246 into opencast:admin-ui-picard Feb 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
2 participants