-
Notifications
You must be signed in to change notification settings - Fork 33
feat: migrate deprecated Table to DataTable for LearnerActivityTable #1453
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
base: master
Are you sure you want to change the base?
Conversation
98c4a8f
to
7bebdb2
Compare
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
7bebdb2
to
ebc5bb0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1453 +/- ##
==========================================
+ Coverage 87.48% 87.57% +0.09%
==========================================
Files 739 753 +14
Lines 16723 16940 +217
Branches 3515 3462 -53
==========================================
+ Hits 14630 14836 +206
- Misses 2019 2038 +19
+ Partials 74 66 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b3fbea2
to
4e4d6a9
Compare
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
4e4d6a9
to
7a67457
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.
Great job with implementation. I'd implore you to give the useDatatable
hook an attempt with at least generating the necessary datastructures for sorting an filtering to be parsed by an API outside of useDatatable
.
Some nits related to testing and implementation.
src/components/LearnerActivityTable/LearnerActivityTable.test.jsx
Outdated
Show resolved
Hide resolved
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
src/components/LearnerActivityTable/data/hooks/useCourseEnrollments.js
Outdated
Show resolved
Hide resolved
7a67457
to
7300e52
Compare
326757d
to
15ba6d5
Compare
15ba6d5
to
9b5f4c8
Compare
7d42f1e
to
2bc7cfc
Compare
935f75b
to
5cdbd2d
Compare
f188ad9
to
5f500d1
Compare
d58f8d7
to
8e6c5f9
Compare
* fix: fix pagination issue for learner activity table * fix: added autoResetPage option for DataTable --------- Co-authored-by: irfanuddinahmad <[email protected]>
8e6c5f9
to
fd46145
Compare
fix: datatable data fixes
Description
Here is the short recording after replacing the table.
Screen.Recording.2025-03-20.at.6.09.06.PM.mov
JIRA- ENT-10165
For all changes
Only if submitting a visual change