feat(core, react): add service types and invitation components#160
Open
rax7389 wants to merge 15 commits into
Open
feat(core, react): add service types and invitation components#160rax7389 wants to merge 15 commits into
rax7389 wants to merge 15 commits into
Conversation
d32ea46 to
a3edf1e
Compare
7b93170 to
bf603bf
Compare
a3edf1e to
038ed92
Compare
bf603bf to
e29c388
Compare
038ed92 to
27b3080
Compare
1397fc9 to
3fef17b
Compare
a6cfe0d to
2b6461e
Compare
3fef17b to
2b6461e
Compare
9f53be5 to
e9c796d
Compare
a831fdd to
53b1407
Compare
NaveenChand755
requested changes
Apr 13, 2026
NaveenChand755
requested changes
Apr 15, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #160 +/- ##
==========================================
- Coverage 89.47% 85.03% -4.45%
==========================================
Files 156 163 +7
Lines 13070 13761 +691
Branches 1419 1342 -77
==========================================
+ Hits 11694 11701 +7
- Misses 1376 2060 +684 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Summary: Adds MyOrg-dependent service types (
@auth0/myorganization-jstype aliases), React types/utilities that depend onMemberInvitation, and all presentational invitation components — details modal, revoke modal, table with actions, create modal with multi-email input, and search filter. All components are prop-driven and fully translatable.Why: This PR bridges types to the actual
@auth0/myorganization-jsSDK and provides the complete set of presentational UI components needed for the invitation management flow. React types that depend onMemberInvitationare co-located here with the core type definitions. Separating components (this PR) from the orchestrating hook (PR 4) keeps the review focused.What:
Core Service Types (
member-management-types.ts)Type aliases mapping internal types to
@auth0/myorganization-jsSDK types for members and invitations.React Types (moved from PR 2)
organization-invitation-table-types.ts— Core entity and component prop types:organization-member-management-types.ts— Top-level management types including service layer types:Utilities (react)
member-management-utils.ts—getInvitationStatus()helper that computes status fromexpires_atwhen no explicit status is set.Presentational Components
isRevokeAndResendprop.DataPagination, role filtering viaSearchFilter, and the actions column above.TextFieldGroupwith chips), multi-role selection (Combobox), identity provider dropdown (Select), and Zod-powered validation.Other
package.json: Updated@auth0/myorganization-jsdependencypnpm-lock.yaml: Lock file updatesReferences
Part of the member management invitations feature.
Testing
Component tests are in PR 5. These are presentational components receiving all data via props.
Checklist