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

Trim whitespaces from org names when an org is created or saved #1548

Closed
4 tasks
ecurrencyhodler opened this issue Feb 21, 2024 · 2 comments · Fixed by #1550
Closed
4 tasks

Trim whitespaces from org names when an org is created or saved #1548

ecurrencyhodler opened this issue Feb 21, 2024 · 2 comments · Fixed by #1550
Labels
bounties bug Something isn't working Posted

Comments

@ecurrencyhodler
Copy link
Contributor

Describe the bug
Currently an org can be created and saved with just spaces.

Expected behavior
When an org name is created or saved, trim spaces in the front and end of the text that is received. Spaces inbetween should be preserved. This is related to stakwork/sphinx-tribes-frontend#267

Also return a failure if an org is being created or saved with just spaces.

Desktop (please complete the following information):

  • Browser: Chrome

Acceptance Criteria

  • I have tested on Chrome desktop
  • I have created a test that an org name with just spaces fails
  • I have rebased and tested locally before submitting my PR
  • I can submit a PR within 2 days of taking the bounty

Here is an example backend test

@AbdulWahab3181
Copy link
Contributor

@ecurrencyhodler could you please assign me?

@ecurrencyhodler ecurrencyhodler moved this from 🆕 New to 🧨 To Do in Bounties Platform Feb 21, 2024
@ecurrencyhodler
Copy link
Contributor Author

This is yours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounties bug Something isn't working Posted
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants