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

Modern UI: Add sorting to columns on statistics page and downloaded report #2453

Merged
merged 2 commits into from
Nov 12, 2023

Conversation

andrewbaldwin44
Copy link
Collaborator

Proposal

  • Re-implement sorting function from old UI
  • When clicking on table header, sort by selected field
  • Text color will change after a header has been interacted with, to indicate the table is being sorted
  • Reversing the order of columns only applies when clicking on the same field (reverse is reset when clicking on a new column)
  • Sorting is applied to stats, failures, and workers table (same as the previous UI)
image

@cyberw
Copy link
Collaborator

cyberw commented Nov 8, 2023

❤️ I’ll have a look this weekend (I’m going to be at PyCon Sweden. doing a talk about Locust on friday! :)

@cyberw
Copy link
Collaborator

cyberw commented Nov 10, 2023

Is there a way to revert to the default sort? I was thinking the third click on the same column could make it revert to default sort (and stop indicating the column as being sorted).

@cyberw cyberw merged commit 6774a52 into locustio:master Nov 12, 2023
14 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants