Skip to content

prevent user from toggling files when commit is in progress - #5341

Merged
iAmWillShepherd merged 2 commits into
desktop:masterfrom
masungwon:bugfix/disable-checkbox-pre-commit
Aug 3, 2018
Merged

iAmWillShepherd merged 2 commits into
desktop:masterfrom
masungwon:bugfix/disable-checkbox-pre-commit

Conversation

@masungwon

@masungwon masungwon commented Aug 3, 2018 •

Copy link
Copy Markdown

(@erin-lee and I worked on this PR together!)

Prevents changing the file/line selection while a commit is in progress.

Related to #3814

@iAmWillShepherd iAmWillShepherd added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Aug 3, 2018
@iAmWillShepherd iAmWillShepherd self-assigned this Aug 3, 2018
shiftkey
shiftkey previously approved these changes Aug 3, 2018

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

Just one small change.

Comment thread app/src/ui/changes/changed-file.tsx Outdated
readonly oldPath?: string
readonly include: boolean | null
readonly availableWidth: number
readonly disabled: boolean

This comment was marked as spam.

@shiftkey

shiftkey commented Aug 3, 2018

Copy link
Copy Markdown
Member

@masungwon @erin-lee this is a great fix for the checkboxes, and I won't hold this up for the other part of the issue - the partial selections when viewing the diff on a file. I'll add some details about this to the original issue, in case you have time to dig into that.

@masungwon

Copy link
Copy Markdown
Author

@shiftkey @iAmWillShepherd Thanks for your feedback!

@iAmWillShepherd
iAmWillShepherd merged commit 8420dd1 into desktop:master Aug 3, 2018
@masungwon
masungwon deleted the bugfix/disable-checkbox-pre-commit branch August 4, 2018 00:38
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.

4 participants