Skip to content

Conversation

@kaspermroz
Copy link
Contributor

@kaspermroz kaspermroz commented Jan 12, 2025

Description

In this PR:

  • create new SlashID state __orgSwitchingState
  • create new component <OrgSwitchingForm>

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have generated the new version of the docs website and smoke tested it
  • I have checked that my changes haven't caused semantic errors in the existing docs
  • I have generated a changeset if my change affects the published packages

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 13, 2025

Deploying website-react-storybook with  Cloudflare Pages  Cloudflare Pages

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

View logs

@kaspermroz kaspermroz marked this pull request as ready for review January 13, 2025 14:27
@github-actions
Copy link
Contributor

github-actions bot commented Jan 17, 2025

Bundle size comparison

Name +/- Base Current +/- gzip Base gzip Current gzip
main.js +1.19% 409.16 kB 414.02 kB +1.27% 107.46 kB 108.82 kB
style.css = 38.27 kB 38.27 kB = 6.50 kB 6.50 kB
main.d.ts +18.98% 4.73 kB 5.63 kB +20.87% 1.15 kB 1.39 kB

Generated by 🚫 dangerJS against 1220cb9

@ikovic
Copy link
Collaborator

ikovic commented Jan 17, 2025

@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 🤔

@ikovic
Copy link
Collaborator

ikovic commented Feb 5, 2025

@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?

@kaspermroz kaspermroz merged commit 503d904 into main Feb 11, 2025
5 checks passed
@kaspermroz kaspermroz deleted the console-hrd-react-sdk branch February 11, 2025 15:08
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