Skip to content

fix regression with clearing commit message - #5260

Merged
iAmWillShepherd merged 3 commits into
masterfrom
fix-regression-wtih-committing
Jul 26, 2018
Merged

iAmWillShepherd merged 3 commits into
masterfrom
fix-regression-wtih-committing

Conversation

@shiftkey

Copy link
Copy Markdown
Member

@iAmWillShepherd identified that the latest 1.3.0 beta doesn't clear the commit in the normal scenario because of #5208.

I dug into this and uncovered:

  • my assumption that GitStore was the source of truth for this commit message isn't correct
  • GitStore is only updated when the component is unmounted (due to switching tabs or switching repositories)
  • because GitStore keeps sending null message to the component in the normal scenario, the component ignores this in favour of it's local state

So we need to do both "clean up local state" and "clean up GitStore state" to cover both scenarios. Sigh.

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Jul 26, 2018
@shiftkey shiftkey added this to the 1.3.0 milestone Jul 26, 2018
@shiftkey
shiftkey requested a review from iAmWillShepherd July 26, 2018 18:06
@iAmWillShepherd
iAmWillShepherd merged commit 0f89e53 into master Jul 26, 2018
@iAmWillShepherd
iAmWillShepherd deleted the fix-regression-wtih-committing branch July 26, 2018 20:05
@joshaber

Copy link
Copy Markdown
Contributor

giphy-43

@lock lock Bot locked as resolved and limited conversation to collaborators Sep 24, 2018
@desktop desktop unlocked this conversation Sep 27, 2018
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.

3 participants