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

Make it possible to change sorting method via UI #128

Merged
merged 10 commits into from
Jun 20, 2024
Merged

Conversation

podliashanyk
Copy link
Contributor

@podliashanyk podliashanyk commented Jun 19, 2024

Closes #68

Implemented changes:

  • it is possible to change sorting method in the UI via Sort events-modal (accessible through button in the table toolbar)
    Screenshot 2024-06-19 at 12 22 39
  • changes are persisted in session

@podliashanyk podliashanyk added the beta Part of beta release label Jun 19, 2024
@podliashanyk podliashanyk self-assigned this Jun 19, 2024
@hmpf
Copy link
Contributor

hmpf commented Jun 19, 2024

I will test this manually.

@podliashanyk podliashanyk changed the title Change sorting UI Make it possible to change sorting method via UI Jun 19, 2024
Copy link
Contributor

@hmpf hmpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be working fine but when sorting on "severity" I anticipate confused new users (as I was confused) so we need to document what sorting on severity means in some fashion that does not take programming experience.

"'severity' takes into account both x, y and z so there might not be continuous blocks of color" or something like that.

src/howitz/endpoints.py Outdated Show resolved Hide resolved
src/howitz/templates/responses/resort-events.html Outdated Show resolved Hide resolved
Copy link
Contributor

@hmpf hmpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typos, otherwise ok

README.rst Outdated Show resolved Hide resolved
src/howitz/endpoints.py Outdated Show resolved Hide resolved
@podliashanyk podliashanyk requested a review from hmpf June 20, 2024 07:15
@podliashanyk podliashanyk merged commit 31d0d0d into main Jun 20, 2024
5 checks passed
@podliashanyk podliashanyk deleted the change-sorting-ui branch June 20, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Part of beta release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table sorting functionality
2 participants