Skip to content

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

Merged
outofambit merged 11 commits into
developmentfrom
cleanup-popups-if-conflicts-gone
Apr 5, 2019
Merged

outofambit merged 11 commits into
developmentfrom
cleanup-popups-if-conflicts-gone

Conversation

@shiftkey

@shiftkey shiftkey commented Apr 3, 2019

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

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

Comment thread app/src/lib/stores/app-store.ts Resolved
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

@niik niik left a comment

Copy link
Copy Markdown
Member

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 niik and outofambit 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

@niik niik left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

@niik no, i love it more!

@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.

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