Skip to content
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

SDK-2372 Update B2B UI component ordering #263

Merged
merged 4 commits into from
Feb 14, 2025

Conversation

jhaven-stytch
Copy link
Contributor

Linear Ticket: SDK-2372

Changes:

  1. Updates product component ordering in pre-built B2B UI to match updated logic, specifically keeping OAuth and SSO buttons together, and adding dividers where appropriate
  2. Adds tests to ensure the logic is correct

Notes:

Checklist:

  • I have verified that this change works in the relevant demo app, or N/A
  • I have added or updated any tests relevant to this change, or N/A
  • I have updated any relevant README files for this change, or N/A

@jhaven-stytch jhaven-stytch requested a review from a team as a code owner February 14, 2025 18:11
@jhaven-stytch jhaven-stytch requested review from alex-stytch and nidal-stytch and removed request for alex-stytch February 14, 2025 18:11
Comment on lines 135 to 136
ProductComponent.OAuthButtons,
ProductComponent.SSOButtons,

Choose a reason for hiding this comment

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

We don't actually require OAuth and SSO to be next to each other--we just don't add any extra padding between the two sections if they're consecutive.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, did I misremember that discussion?? Let me rethink on this then

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, removed the button re-ordering. We're not adding any extra padding outside of the components, so all good

@jhaven-stytch jhaven-stytch merged commit b1bd3f2 into main Feb 14, 2025
4 checks passed
@jhaven-stytch jhaven-stytch deleted the jordan/SDK-2372-b2b-ui-component-ordering branch February 14, 2025 18:46
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