Skip to content

fix stash diff viewer button order (for mac) - #7392

Merged
iAmWillShepherd merged 8 commits into
developmentfrom
bugfix/stashing-button-order-mac
Apr 25, 2019
Merged

iAmWillShepherd merged 8 commits into
developmentfrom
bugfix/stashing-button-order-mac

Conversation

@outofambit

@outofambit outofambit commented Apr 24, 2019 •

Copy link
Copy Markdown
Contributor

fixes #7273

Windows (i spoofed windows in code locally):
Screen Shot 2019-04-24 at 2 10 34 PM

Mac:
Screen Shot 2019-04-24 at 2 09 28 PM

@outofambit outofambit added this to the 1.7.0 milestone Apr 24, 2019
@outofambit outofambit added the epic:stashing Tracking label for work related to the stashing flow label Apr 24, 2019
@outofambit outofambit changed the title fix button order for mac fix stash diff viewer button order (for mac) Apr 24, 2019
@outofambit
outofambit marked this pull request as ready for review April 24, 2019 21:13
@outofambit outofambit added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 24, 2019

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

I wasn't able to get this building locally for some reason so I'm going to have to defer to someone else to test that it works correctly.

dispatcher: Dispatcher
}> = props => {
const onClearClick = () => {
const onDiscardClick = () => {

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.

Yay for renaming these, nice cleanup! 🎉

props.dispatcher.dropStash(props.repository, props.stashEntry)
}
const onSubmitClick = () => {
const onRestoreClick = () => {

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.

Samesies 🎉

@billygriffin
billygriffin requested review from niik and tierninho April 24, 2019 22:36
tierninho
tierninho previously approved these changes Apr 24, 2019
niik
niik previously approved these changes Apr 25, 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.

👍 This feels like the correct solution, i.e. we only want to flip the order of the buttons depending on the platform. Destructive doesn't come into play here because the secondary button isn't the "safe option".

@iAmWillShepherd iAmWillShepherd self-assigned this Apr 25, 2019
@iAmWillShepherd
iAmWillShepherd dismissed stale reviews from niik and tierninho via c8956f0 April 25, 2019 15:47
@iAmWillShepherd
iAmWillShepherd merged commit df0a69f into development Apr 25, 2019
@iAmWillShepherd
iAmWillShepherd deleted the bugfix/stashing-button-order-mac branch April 25, 2019 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

epic:stashing Tracking label for work related to the stashing flow 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.

[Stashing] macOS button order is incorrect

5 participants