Skip to content

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

jajjibhai008
Copy link
Contributor

@jajjibhai008 jajjibhai008 commented Mar 20, 2025

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

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10165-2 branch from 98c4a8f to 7bebdb2 Compare March 21, 2025 07:58
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

Attention: Patch coverage is 98.81890% with 3 lines in your changes missing coverage. Please review.

Project coverage is 87.57%. Comparing base (04ba0d1) to head (fd46145).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/components/Admin/index.jsx 75.00% 2 Missing ⚠️
src/components/Admin/TableDataContext.jsx 90.00% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10165-2 branch 3 times, most recently from b3fbea2 to 4e4d6a9 Compare March 24, 2025 11:13
@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10165-2 branch from 4e4d6a9 to 7a67457 Compare March 25, 2025 09:26
Copy link
Member

@brobro10000 brobro10000 left a 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.

@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10165-2 branch from 7a67457 to 7300e52 Compare March 25, 2025 13:14
@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10165-2 branch 4 times, most recently from 326757d to 15ba6d5 Compare March 26, 2025 13:05
@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10165-2 branch from 15ba6d5 to 9b5f4c8 Compare March 27, 2025 08:09
@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-10165-2 branch 2 times, most recently from 7d42f1e to 2bc7cfc Compare April 10, 2025 07:48
@mahamakifdar19 mahamakifdar19 force-pushed the eahmadjaved/ENT-10165-2 branch 4 times, most recently from 935f75b to 5cdbd2d Compare April 14, 2025 09:08
@mahamakifdar19 mahamakifdar19 added the datatable-migration Migrate Admin Portal Datatables label Apr 15, 2025
@mahamakifdar19 mahamakifdar19 force-pushed the eahmadjaved/ENT-10165-2 branch from f188ad9 to 5f500d1 Compare May 16, 2025 12:36
@irfanuddinahmad irfanuddinahmad changed the title chore: migrate deprecated Table to DataTable for LearnerActivityTable feat: migrate deprecated Table to DataTable for LearnerActivityTable Jun 18, 2025
@irfanuddinahmad irfanuddinahmad force-pushed the eahmadjaved/ENT-10165-2 branch 2 times, most recently from d58f8d7 to 8e6c5f9 Compare June 18, 2025 08:01
* fix: fix pagination issue for learner activity table

* fix: added autoResetPage option for DataTable

---------

Co-authored-by: irfanuddinahmad <[email protected]>
@irfanuddinahmad irfanuddinahmad force-pushed the eahmadjaved/ENT-10165-2 branch from 8e6c5f9 to fd46145 Compare June 18, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datatable-migration Migrate Admin Portal Datatables
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants