-
Notifications
You must be signed in to change notification settings - Fork 5
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
Restore default sort #774
Restore default sort #774
Conversation
Visit the preview URL for this PR (updated for commit 0f7bc96): https://roar-staging--pr774-fix-score-sort-njbpfp1h.web.app (expires Tue, 10 Sep 2024 21:56:36 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460 |
roar-dashboard-e2e Run #5656
Run Properties:
|
Project |
roar-dashboard-e2e
|
Branch Review |
fix/score-sort
|
Run status |
Passed #5656
|
Run duration | 07m 24s |
Commit |
0f7bc96ae3: Tests for PR 774 "Restore default sort" from commit "0f7bc96ae3bcc1b00934332c4d3...
|
Committer | Elijah Kelly |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
26
|
View all changes introduced in this branch ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only issue I see is that K grade is being placed as bigger, because it is a letter --> Is there a way to associate K with 0?
This is an existing issue we know we want to address. It may be outside of the scope of this PR, as PrimeVue doesn't support custom sort functions for the table as far as I can find, which leaves hacking a solution. I've just tried one solution, and it seems to be ineffective. This leads me to believe that this solution might need more thought with a separate PR. |
Thanks for clarifying @kellyel :) |
Proposed changes
Update the format of the default sort to make it functional on score and progress reports.
Types of changes
What types of changes does this pull request introduce?
Checklist
Justification of missing checklist items
Testing Steps
Further comments
Interface defined here: https://v3.primevue.org/datatable/#pre_sort