Resolve "Customize branch name when using create branch in an issue"
What does this MR do?
This MR adds an ability to type a custom branch name in the Create merge request
dropdown placed in an issue.
TODO
-
Add backend specs -
Add frontend specs
Why was this MR needed?
It improves UX of branch management.
Screenshots (if relevant)
To be added.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
Closes #21143 (closed)
Merge request reports
Activity
mentioned in issue #21143 (closed)
marked the checklist item Changelog entry added, if necessary as completed
added 1 commit
- b8ccc37f - Add ability to create MR with custom branch name
- Resolved by blackst0ne
Our current logic of generating an MR description is based on a branch name.
If a user changes a branch name from a default to a custom one, the current implementation of the
assign_title_and_description
method will not append theCloses iid
text to the MR description.What should I do with it?
I personally prefer always pass an iid of an issue and always append theCloses xxx
string, but there might be some reasons why we don't do that right now.