Skip to content

Conversation

@grandmaester
Copy link
Contributor

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

We should update Domain Table component under IDP Management to separate API logic from the component itself.

We should create a high-order component that injects the logic, and export both components. Something like DomainTableComponent (with the logic) and DomainTableUIComponent (without the logic).

In addition, we will expose the hooks we use, just in case the users want to reuse them too.

We have separated all main blocks into 2 components:

  1. Presentational component that receives all logic in props
  2. A HighOrderComponent that adds hooks and passes logic using props to the previous presentational component

We are exposing:

  1. HOC with logic+presentational component (e.g. OrgDetailsEdit)
  2. Presentational without hooks (e.g. OrgDetailsEditUI)

References

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@grandmaester grandmaester self-assigned this Dec 22, 2025
@grandmaester grandmaester marked this pull request as draft December 22, 2025 11:05
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.

2 participants