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

chore: improve code related to OAuth section #11954

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

halvaradop
Copy link
Contributor

@halvaradop halvaradop commented Oct 2, 2024

☕️ Reasoning

This pull request refines the codebase related to the OAuth section to reduce redundancy and enhance flexibility. The changes focus on providing a more generalized structure, making it easier to implement new features like a search bar or adapt current code with minimal changes:

  • Removed the useOAuthProviderSelect hook
  • Cleaned up the OAuthProviderInstructions component
  • Introduced the new PreviewProviders component
  • Added the useSelectCombobox hook
  • Created a hooks folder and update the tsconfig.json paths

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

- Removed the `useOAuthProviderSelect` hook
- Cleaned up the `OAuthProviderInstructions` component
- Introduced the new `PreviewProviders` component
- Added the `useSelectCombobox` hook
- Created a `hooks` folder and update the `tsconfig.json` paths
Copy link

vercel bot commented Oct 2, 2024

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

Name Status Preview Comments Updated (UTC)
auth-docs ❌ Failed (Inspect) Oct 3, 2024 0:14am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 0:14am

Copy link

vercel bot commented Oct 2, 2024

@halvaradop is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant