-
Notifications
You must be signed in to change notification settings - Fork 1
[HRD-Console] React SDK implementation #319
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
Conversation
Deploying website-react-storybook with
|
| Latest commit: |
1220cb9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7ba33c69.website-react-storybook.pages.dev |
| Branch Preview URL: | https://console-hrd-react-sdk.website-react-storybook.pages.dev |
packages/react/src/components/form/org-switching/org-switching-form.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/form/org-switching/org-switching-form.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/form/org-switching/useOrgSwitchingFlowState.ts
Outdated
Show resolved
Hide resolved
packages/react/src/components/form/org-switching/org-switching-form.tsx
Outdated
Show resolved
Hide resolved
|
@kaspermroz can you add a test suite for this flow? Ideally one case for the path when authentication is not required and one with authentication. I think you could potentially do it without mocking any network requests as it is possible to mock the core SDK so we could do it at that level 🤔 |
packages/react/src/components/form/org-switching/org-switching-flow.ts
Outdated
Show resolved
Hide resolved
|
@kaspermroz I think this is on track with what we discussed, can you release a beta and see how this works when used in the console? |
Description
In this PR:
__orgSwitchingState<OrgSwitchingForm>Checklist
changesetif my change affects the published packages