Previously you were able to create a branch with an empty name after entering a valid branch name, closing the branch drop down and then reopening it. This should now not be possible.
Testing:
Steps for manual testing:
Go to the screen where you can view the graph
Enter a valid branch name which enables the creation button
Click anywhere on the application that is unrelated to the branch creation (the branch creation drop down should close)
Re-open the branch drop down
The "Ok" button should now be disabled
Check you are able to still create branches
Checklist:
[x] Latest master merged/rebased into your feature branch
[x] Tests covering all changes
[x] Meets the projects coding conventions
[x] No out of scope changes
[ ] @Mentioned any relevant team members
[ ] No failure when running the linter (npm run lint) Note, errors from another PR
[ ] Included a relevant gif (search here for inspiration)
Related Issue/Keyword:
Closes #287
Description:
Previously you were able to create a branch with an empty name after entering a valid branch name, closing the branch drop down and then reopening it. This should now not be possible.
Testing:
Steps for manual testing:
Checklist:
npm run lint
) Note, errors from another PR