Skip to content

"Rebase current branch" dialog and flow #6551

Closed

Description

@shiftkey

This is the flow that a user can start from the Branch | Rebase current branch... menu item which lets the user:

  • select the base branch to merge the current branch onto
  • see at a glance how many commits will be rebased
  • view the progress of the rebase
  • be interrupted by the rebase if it encounters conflicts (ask user to resolve rebase conflicts before continuing #6548 is related to this step)
  • see some sort of success indicator when it completes

The mocks for this can be seen in this comment: #5953 (comment)

TODO:

  • flesh out the checklist of tasks

Activity

  1. added this to the 1.7.0 milestone on Jan 8, 2019
  2. modified the milestones: 1.6.3, 1.7.0 on Feb 5, 2019
  3. shiftkey commented on Feb 27, 2019

    @shiftkey
    MemberAuthor

    Extracting the designs for this area from #5953 (comment) for easy reference


    Problem 2: Rebase with another branch

    • Users will enter the experience from the Branch > Rebase Current Branch....
    • We'll show a dialog similar to the merge dialog to let you select a branch. A hint will let users know how many commits are going to be rebased.
    • If you'll have to force push, we'll let you know up front. Users can opt out of seeing this again.
    • A progress bar will take users through the commits they are rebasing.
    • When done, we'll show a success banner.
    • When force pushing, we'll warn you again. Users can opt out of seeing this again.

    No conflicts

    rebase-clean

    With conflicts

    • This is the same flow, but when you encounter conflicts, we'll give you a heads up on the hint
    • As the progress bar takes you through commit by commit, we'll let you resolve conflicts along the way

    rebase-conflicts

  4. self-assigned this
    on Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions