-
Couldn't load subscription status.
- Fork 1.6k
Description
Problem
Currently, GL makes a best-guess on what the merge target for the current branch is, but users don't have a way to ignore or change this if it is not correct.
Solution
Preserve the assumed merge target and add a new field to capture a user-defined merge target.
Put a button to edit the merge branch here:

Also it would be nice if we could signal to users when we’re showing an assumed merge target, with an option to ignore / set their own. Need to explore more how that could be shown without adding too much noise. Probably, we could modify the On a daily-meeting we decided that we don't need it.? tooltip based on which merge target is being displayed (the assumed one vs. the user-defined one) to be clear about which is being shown. Maybe that icon even changes from a ? to something that indicates it’s a user-defined target when that is the case.
Follow-ups:
- start using merge-target in "Create a PR" action (create an issue for it. discussed in slack)
Verification steps
- check that user can set a merge-target to another branch (using the pencil icon on Home)
- see the result in the tooltip on Home
- see the result in
.git/config
- check that user can reset a merge-target back to the detected branch:
- see the result in the tooltip on Home
- see the result in
.git/config
- check that user can set and reset a merge target by pallet command directly:
- check that "back" button works
- make sure that an issue for the item from the "Follow-ups" section has been created : )