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

Use Organizer's table-sort logic in Compare #10702

Merged
merged 4 commits into from
Aug 31, 2024
Merged

Conversation

bhollis
Copy link
Contributor

@bhollis bhollis commented Aug 29, 2024

This replaces Compare's stat-sorting logic with the table sorter from Organizer. It should behave identically, with the one difference that it is now possible to shift-click a stat to sort by multiple stats at once.

Comment on lines +238 to +240
? columnSort.sort === SortDirection.ASC
? styles.sortDesc
: styles.sortAsc
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a bit awkward but I'll clean it up later - the original styles were actually backwards between "ascending" and "descending".

@bhollis bhollis merged commit 0b6c0d5 into master Aug 31, 2024
7 checks passed
@bhollis bhollis deleted the table-sorts-compare branch August 31, 2024 22:03
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.

1 participant