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

fix: Add validation on subdomain while creating Project #82

Closed

Conversation

saimadib
Copy link

@saimadib saimadib commented Oct 8, 2023

What does this PR do?

This PR fixes the issue of validating subdomain while creating project. The subdomain is now having typechecking for spaces, special characters and allows only lower case letters.

Fixes #72

Screenshot

subdomain validate

subdomain validate 2

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

-Signin to app.localhost:3000/signin
-Go to Dashboard app.localhost:3000/dashboard
-Create a new Project
-Add subdomain as hey there@
-It will give an type error cause there is space and special characters in subdomain "hey there@"

@github-actions github-actions bot added the bug Something isn't working label Oct 8, 2023
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Thank you for following the naming conventions! 🙏

@github-actions github-actions bot added good first issue Good for newcomers hacktoberfest Hacktoberfest Accepted Issues hacktoberfest-accepted Hacktoberfest Accepted labels Oct 8, 2023
@saimadib saimadib changed the title Fix: Add validation on subdomain while creating Project Add validation on subdomain while creating Project Oct 8, 2023
@saimadib saimadib changed the title Add validation on subdomain while creating Project fix: Add validation on subdomain while creating Project Oct 8, 2023
@Anandateertha
Copy link
Contributor

@saimadib Please avoid pushing the package-lock.json file

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Hey there, there is a merge conflict, can you take a look?

@piyushgarg-dev
Copy link
Owner

Closing in Ref #83
Thanks for Contributing

@github-actions github-actions bot added the 🚨 merge conflict Merge Conflict label Oct 8, 2023
@saimadib saimadib deleted the fix/validating-subdomain branch October 8, 2023 15:37
@hemantwasthere hemantwasthere removed the hacktoberfest-accepted Hacktoberfest Accepted label Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers hacktoberfest Hacktoberfest Accepted Issues 🚨 merge conflict Merge Conflict
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Add validation on subdomain while creating Project
4 participants