subhadeeproy3902 / BloxAI

Craft flowcharts and diagrams effortlessly with Blox AI. Seamlessly create visuals and rich documentation, collaborate with your team, and enjoy secure sharing. Start visualizing your ideas today!
https://blox-ai.vercel.app
MIT License
51 stars 60 forks source link

updated email validation regex #323

Closed AdarshGT33 closed 1 week ago

AdarshGT33 commented 1 week ago

Related Issue

Issue #138

Description

Updated the regex to validate only approved emails with approved domains

Type of PR

Screenshots / videos (if applicable)

[Attach any relevant screenshots or videos demonstrating the changes]

Checklist:

Future Scope:

Why didn't we used Zod for validation? I argue that we should implement Zod. I didn't moved forward with it cause that would mean some major refactoring in the code and I was not sure about it. But I would say that Zod will make it easier and also this is the future scope for this functionality as regex are not the horse for the long run.

vercel[bot] commented 1 week ago

@AdarshGT33 is attempting to deploy a commit to the subhadeep3902's projects Team on Vercel.

A member of the Team first needs to authorize it.

github-actions[bot] commented 1 week ago

Welcome to Blox AI! 🎉 Thank you for submitting your pull request. We're excited to review it! 🚀 If you haven't already, be sure to check out our site to learn more about how Blox AI makes crafting flowcharts and diagrams a breeze, and how you can get explanations from the top Google Gemini model about your creations. Start visualizing your ideas today! Visit Blox AI for more information.

vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
blox-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 1:12pm
subhadeeproy3902 commented 1 week ago

@AdarshGT33 List ur contribution in the Contributing.ts file . Check or read Contributing.md