Skip to content

show a "continue rebase" button when conflicts are outstanding - #6907

Merged
iAmWillShepherd merged 10 commits into
developmentfrom
shiftkey/rebase/update-commit-form
Feb 27, 2019
Merged

iAmWillShepherd merged 10 commits into
developmentfrom
shiftkey/rebase/update-commit-form

Conversation

@shiftkey

@shiftkey shiftkey commented Feb 21, 2019 •

Copy link
Copy Markdown
Member

Overview

Closes #6890

Description

This swaps out the default commit message for a simple "Continue rebase" button to prevent the user from creating commits as usual outside of the "Rebase conflicts" dialog.

The current view in #6698 when you dismiss the "Rebase conflicts" dialog:

While there are outstanding conflicts to resolve:

When those are resolved:

This also hides the "Undo Commit" dialog (which will appear when any rebased commit hasn't been published).

TODO:

Release notes

Notes: no-notes

@billygriffin

Copy link
Copy Markdown
Contributor

@shiftkey Looks great! Sorry if this is a dumb question, but is the button that replaced the commit area in the bottom screenshot supposed to say "Continue rebase" and not "Rebase {branch_name}"? Since you're already in it and not starting anew, I'd imagine the "continue" verbiage would be important.

@shiftkey

shiftkey commented Feb 21, 2019 •

Copy link
Copy Markdown
Member Author

Since you're already in it and not starting anew, I'd imagine the "continue" verbiage would be important.

@billygriffin this is a good shout, and what I intended to do originally. I'll update the PR screenshots once I've corrected this.

EDIT: change made in ee73fbd and screenshots updated in PR description

@billygriffin

Copy link
Copy Markdown
Contributor

Thanks @shiftkey! Screenshots of the behavior now align with my expectations.

@shiftkey shiftkey added this to the 1.6.3 milestone Feb 21, 2019
@shiftkey
shiftkey force-pushed the shiftkey/rebase/detect-and-show-some-ui branch from fa9edd3 to a4b8657 Compare February 21, 2019 21:18
@shiftkey
shiftkey force-pushed the shiftkey/rebase/update-commit-form branch 2 times, most recently from 3cdc998 to 6e60fdb Compare February 21, 2019 21:38
@shiftkey
shiftkey force-pushed the shiftkey/rebase/detect-and-show-some-ui branch from 0ef1a50 to ba24e76 Compare February 22, 2019 17:02
@shiftkey
shiftkey force-pushed the shiftkey/rebase/update-commit-form branch 2 times, most recently from 9197eec to 49e9ee4 Compare February 25, 2019 17:51
@shiftkey
shiftkey changed the base branch from shiftkey/rebase/detect-and-show-some-ui to development February 25, 2019 17:52
@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Feb 25, 2019
@shiftkey
shiftkey marked this pull request as ready for review February 25, 2019 18:02
@shiftkey
shiftkey force-pushed the shiftkey/rebase/update-commit-form branch from 49e9ee4 to 7693c00 Compare February 25, 2019 18:28

@outofambit outofambit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks reasonable to me overall, but i'd love to get @iAmWillShepherd 's thoughts since he reviewed #6698

@iAmWillShepherd iAmWillShepherd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor change

Comment thread app/src/ui/changes/continue-rebase.tsx Resolved
Comment thread app/src/ui/changes/continue-rebase.tsx Resolved
@iAmWillShepherd
iAmWillShepherd merged commit be9272e into development Feb 27, 2019
@iAmWillShepherd
iAmWillShepherd deleted the shiftkey/rebase/update-commit-form branch February 27, 2019 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

commit form should provide better context when dealing with rebase conflicts

4 participants