Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure conflicts popup and banner are cleaned up if conflicts no longer exist #7209

Merged
merged 11 commits into from
Apr 5, 2019

Conversation

shiftkey
Copy link
Member

@shiftkey shiftkey commented Apr 3, 2019

Overview

Closes #7046

Description

This PR adds a AppStore.clearConflictsFlowVisuals() function to ensure any UI related to conflicts (both merge conflicts and rebase conflicts) goes away if the rebase/merge is aborted outside the app.

It wasn't clear to me from the original report how deep to go with cleaning up state, but we can iterate on this based on further testing and feedback.

Release notes

Notes: no-notes

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 3, 2019
@shiftkey shiftkey added this to the 1.7.0 milestone Apr 3, 2019
@shiftkey shiftkey requested a review from outofambit April 3, 2019 15:57
@tierninho
Copy link
Contributor

LGTM. Ran both git merge --abort and git rebase --abort in cmd line and the UI reverted back to pre-conflicted stage. ⚡️

outofambit
outofambit previously approved these changes Apr 4, 2019
@outofambit outofambit requested a review from niik April 4, 2019 15:33
niik
niik previously approved these changes Apr 4, 2019
Copy link
Member

@niik niik left a comment

Choose a reason for hiding this comment

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

Love it

@shiftkey shiftkey dismissed stale reviews from niik and outofambit via b042ef5 April 4, 2019 15:36
@shiftkey shiftkey requested review from outofambit and niik and removed request for outofambit April 4, 2019 15:36
outofambit
outofambit previously approved these changes Apr 4, 2019
niik
niik previously approved these changes Apr 4, 2019
Copy link
Member

@niik niik left a comment

Choose a reason for hiding this comment

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

Love it even more 📖

@outofambit outofambit self-assigned this Apr 4, 2019
@outofambit
Copy link
Contributor

@niik no, i love it more!

Copy link
Contributor

@outofambit outofambit left a comment

Choose a reason for hiding this comment

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

my love for this is OFF THE CHARTS

@outofambit outofambit merged commit 2b74ea8 into development Apr 5, 2019
@outofambit outofambit deleted the cleanup-popups-if-conflicts-gone branch April 5, 2019 19:30
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.

5 participants