-
Notifications
You must be signed in to change notification settings - Fork 172
Redesign Avenger dashboard #2437
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
Conversation
Pull Request Test Coverage Report for Build 4673565577Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
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.
Thanks for the hard work! I really like the abstractions and the organization of your code, and of course, the UI looks amazing 🎉🎊! There's just a few minor comments as below.
Well done and keep up the great work :)
src/pages/academy/grading/subcomponents/GradingSubmissionFilters.tsx
Outdated
Show resolved
Hide resolved
src/pages/academy/grading/subcomponents/GradingSubmissionFilters.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Richard Dominick <[email protected]>
Here are the changes to the csv columns. Before:
After:
|
I vaguely remember that we need to distinguish between "initial grade" and "adjusted grade" so that we don't lose the result of autograding. Could you check that @zhyuhan ? |
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.
I vaguely remember that we need to distinguish between "initial grade" and "adjusted grade" so that we don't lose the result of autograding. Could you check that @zhyuhan ?
@martin-henz @shenyih0ng Looks like |
OK, got it. |
* feat: redesign submissions table with basic column filtering * feat: make new submission action buttons functional * feat: improving submissions table filtering * feat: add submissions table filter state to Redux store * fix: use React Router's `Link` instead of `a` tag * feat: add grading summary to show progress * refactor: make `loadContentDispatch` optional * feat: use new grading dashboard * feat: move `Export to CSV` button * fix: sort imports * fix: skip missing assessments instead of throwing an error * refactor: add helper to get badge color * refactor: use nullish coallescing Co-authored-by: Richard Dominick <[email protected]> * refactor: remove unnecessary check for Paths * refactor: reorganize components and logic for badges * fix: wrap csv fields in quotes * fix: wraps column headers in quotes too --------- Co-authored-by: Richard Dominick <[email protected]>
Description
This is a major redesign of the dashboard at
/grading
to improve performance and speedup the workflow of Avengers. This is down by migrating the existing submissions table from AG Grid to the headless TanStack Table and components from Tremor.The demo video recorded for the final Show-and-Tell can be found here.
Changes
The changes in this PR include:
pages/academy/grading/Grading.tsx
to a functional componentexportCSV
function (previously part of AG Grid API)initialGrade
,gradeAdjustment
,currentGrade
, maxGrade`) are removed, is this okay @martin-henz?Future improvements
There are still a few existing issues that can be improved:
submitted
and the grading status stays asgraded
, while the XP adjustments get reverted. There should be a better way to tell whether a submission has been unsubmitted or not.ag-grid-community
andag-grid-react
, which have a combined bundle size of 33MB.