-
-
Notifications
You must be signed in to change notification settings - Fork 22
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(frontend): Replace white spaces in branch name proposition and allow dashes in owner name #466
fix(frontend): Replace white spaces in branch name proposition and allow dashes in owner name #466
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does the job, but maybe this could also be an opportunity to refactor other things around this default branch name 👀
@perierc maybe we can merge this PR as currently it's more like a bug and do enhancement in a latter PR ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ok !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few nits 😅
…ps://github.com/openfoodfacts/taxonomy-editor into piv94165/fix-branch-name-whitespace-replacement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another small comment
What
There are some issues on the create project page:
The owner's name allows for the inclusion of white spaces, while the branch name cannot accommodate them.
However, the proposed branch name includes the owner's name, potentially containing white spaces.
Therefore, to ensure compatibility, any white spaces within the branch name need to be replaced.
While GitHub names can include dashes "-", the current text input field for the owner's name doesn't permit dashes, though it should.
Screenshot