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

refactor: SignInWithIDP optimization. #318

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

surya-sanity
Copy link
Contributor

Description

This PR optimizes the rendering logic of the SignInWithIDP by replacing the separate mapping and rendering steps with a single direct map operation, improving performance and reducing unnecessary iterations. Additionally, other minor optimizations were made to clean up redundant code, enhancing readability and maintainability while preserving the existing functionality.

Checklist

  • I am happy with the code
  • Short description of the feature/issue is added in the pr description
  • PR is linked to the corresponding user story
  • Acceptance criteria are met
  • All open todos and follow ups are defined in a new ticket and justified
  • Deviations from the acceptance criteria and design are agreed with the PO and documented.
  • Vitest unit tests ensure that components produce expected outputs on different inputs.
  • Cypress integration tests ensure that login app pages work as expected. The ZITADEL API is mocked.
  • No debug or dead code
  • My code has no repetitions

Copy link

vercel bot commented Dec 13, 2024

@surya-sanity is attempting to deploy a commit to the zitadel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
typescript-login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:58pm

Copy link
Member

@peintnermax peintnermax left a comment

Choose a reason for hiding this comment

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

This is great 😎 thx a lot for the PR 🙏

@peintnermax peintnermax merged commit 23f834a into zitadel:main Dec 13, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants