-
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
Add Filter and Sorting for Progress Reports #386
Conversation
Visit the preview URL for this PR (updated for commit e668c6c): https://roar-staging--pr386-enh-progress-filter-7gtgqnmt.web.app (expires Tue, 12 Mar 2024 23:13:38 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460 |
1 flaky test on run #405 ↗︎
Details:
cypress/e2e/participant/default-tests/playSWR.cy.js • 1 flaky test
Review all test suite changes for PR #386 ↗︎ |
494f1ad
to
5e76647
Compare
91806f3
to
f27c472
Compare
b5632ea
to
622da38
Compare
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.
Looks great!! All suggested changes are removing commented code / console logs. LGTM!
2051622
to
e668c6c
Compare
This PR adds sorting and filtering to the progress report. The current iteration supports sorting and filtering on most categories in the table, as well as sorting by grade and school.
One caveat is that filtering by completion status is currently limited to only
Completed
andStarted
. This is because the filtering mechanism is built on the scores collection, where non-completed and non-started assignments will have no entry. I tried to implement the filtering mechanism based on the assessments collection, but ran into some road blocks (at least from what I tried) in being unable to query within the nested arrayassignments
. You can see the prototype code here.