next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

chore: improve code related to `OAuth` section

Open halvaradop opened this issue 1 year ago • 2 comments

☕️ 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

  • [x] Documentation
  • [ ] Tests
  • [ ] Ready to be merged

🎫 Affected issues

📌 Resources

halvaradop avatar Oct 02 '24 23:10 halvaradop

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

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2024 8:17pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Nov 30, 2024 8:17pm

vercel[bot] avatar Oct 02 '24 23:10 vercel[bot]

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 02 '24 23:10 vercel[bot]