Repository navigation
fix: prevent doing some actions when committing on action - #7840
outofambit merged 13 commits into
Conversation
Secret number: 3814
Secret number: none
Secret number: 3814
Secret number: 3814
Secret number: none
|
@HashimotoYT Many thanks for the PR on this. I tested all the scenarios and all passed expect the I am going to consider other scenarios and circle back later. Thanks again! |
Looks good now. Thanks. |
iAmWillShepherd
left a comment
There was a problem hiding this comment.
A few minor changes, but the code changes look good.
| this.props.onRowKeyDown(rowIndex, event) | ||
| } | ||
|
|
||
| if (event.defaultPrevented) { |
There was a problem hiding this comment.
I think this change is fine, but since this touches a core component, I'd like to get the thoughts of someone else from @desktop/engineering before giving this a full ✅
There was a problem hiding this comment.
i'm not sure this if statement is really necessary. it looks like similar logic (on L430) should already take care of this. @HashimotoYT is there more context here that i'm missing?
|
@HashimotoYT, I've gone ahead and pushed the requested changes up to your branch so we can get your PR merged 👍 |
I've made changes to this PR, so someone else will have to take over review.
shiftkey
left a comment
There was a problem hiding this comment.
I tested out the latest branch and it works as expected 🤘
I'd love an extra review from someone who has been following along the PR from the start, to ensure I haven't missed anything...
|
Took another pass at it. LGTM! |
Overview
Closes #3814
Closes #5934
Description
This PR adds prevent doing actions with the application when we making a commit. Please notice, this not fixes all actions what we able to do when we committing, this fixes only some part of these bugs. 🦄
GIFs and actions what prevented:
Diff panel goes to read only

Opening the context menu

Clicking undo button

File selections from the keyboard ('Enter' or 'Spacebar')

'Discard all changes' context menu

Release notes
Notes: 🤔 💭