Before submitting
Area
apps/web
Problem or use case
I want to create the branch from the bottom-right corner of the chat view. I usually give it a name, e.g. "new branch", and I don't care if characters are a valid git branch.
Proposed solution
Replace invalid characters (like spaces) with dashes.
Why this matters
This is a simple change that allows faster branch creation, less headache.
Smallest useful scope
Spaces are replaced by dashes.
Alternatives considered
An alternative would be marking the input field in red, saying "Invalid git branch name".
Risks or tradeoffs
Edge cases: trying to create a valid branch name with replacements, ends up with a invalid branch name.
Examples or references
No response
Contribution
Before submitting
Area
apps/web
Problem or use case
I want to create the branch from the bottom-right corner of the chat view. I usually give it a name, e.g. "new branch", and I don't care if characters are a valid git branch.
Proposed solution
Replace invalid characters (like spaces) with dashes.
Why this matters
This is a simple change that allows faster branch creation, less headache.
Smallest useful scope
Spaces are replaced by dashes.
Alternatives considered
An alternative would be marking the input field in red, saying "Invalid git branch name".
Risks or tradeoffs
Edge cases: trying to create a valid branch name with replacements, ends up with a invalid branch name.
Examples or references
No response
Contribution