Skip to content

Conversation

@pbitla-sonata
Copy link
Contributor

@pbitla-sonata pbitla-sonata commented Jan 16, 2026

  • Added Invite Admins header with title and subtitle
  • Implemented Invite Admins Data Table using Paragon
  • Added admin card layout using Card View
  • Implemented kebab (⋮) action menu using Paragon components
  • Added unit tests
  • TKT ENT-11262, ENT-11236,ENT-11237
    attached screenshot: image (1)

@codecov
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

❌ Patch coverage is 86.36364% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.11%. Comparing base (9f4b391) to head (cd08691).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
src/data/services/LmsApiService.ts 14.28% 5 Missing and 1 partial ⚠️
src/components/PeopleManagement/index.jsx 77.77% 2 Missing ⚠️
.../components/PeopleManagement/InviteAdminsTable.jsx 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1744      +/-   ##
==========================================
- Coverage   87.12%   87.11%   -0.01%     
==========================================
  Files         781      785       +4     
  Lines       17886    17947      +61     
  Branches     3748     3757       +9     
==========================================
+ Hits        15583    15635      +52     
- Misses       2228     2236       +8     
- Partials       75       76       +1     

☔ 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.

Copy link
Contributor

@hkumar1-sonata hkumar1-sonata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes Looks Good to me Just added some small suggestions / questions to address.

{joinedOrg}
</Col>
<Col>
<h5 className="pt-2 text-uppercase">Role</h5>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use ii18 for Role?

</Row>
</Col>
<Col>
<h5 className="pt-2 text-uppercase">Joined org</h5>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use ii18 for Joined Org?

const data = camelCaseObject(response.data);
setEnterpriseAdminsTableData({
itemCount: data.count,
pageCount: data.numPages ?? Math.floor(data.count / options.pageSize),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using Math.floor can undercount pages when the total isn’t a multiple of pageSize, making the last page unreachable.
Suggestion: use Math.ceil(data.count / args.pageSize) to correctly include partial pages and avoid missing records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants