Skip to content

Swap buttons in 'remove repository' and 'discard changes' dialog - #3347

Closed
agisilaos wants to merge 17 commits into
desktop:masterfrom
agisilaos:agis/fix-buttons
Closed

agisilaos wants to merge 17 commits into
desktop:masterfrom
agisilaos:agis/fix-buttons

Conversation

@agisilaos

@agisilaos agisilaos commented Nov 16, 2017 •

Copy link
Copy Markdown
Member

Fixes: #2463

Now the destructive button is on the left and the cancel button on the right. Not sure if that's the right approach to handle this problem so I would appreciate any comments on how we can improve that! 😃

Now the descructive button is on the left
@j-f1

j-f1 commented Nov 16, 2017

Copy link
Copy Markdown
Contributor

Don’t forget to change the onClick handler 😄

@joshaber joshaber added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Nov 17, 2017
<ButtonGroup destructive={true}>
<Button type="submit">Cancel</Button>
<Button type="submit">Discard Changes</Button>
<Button onClick={this.discard}>

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

<Button type="submit">Cancel</Button>
<Button onClick={this.onConfirmed}>Remove</Button>
<Button type="submit">Remove</Button>
<Button onClick={this.onConfirmed}>Cancel</Button>

This comment was marked as spam.

This comment was marked as spam.

@shiftkey shiftkey self-assigned this Nov 20, 2017
@shiftkey

Copy link
Copy Markdown
Member

@agisilaos have you had a chance to look at the feedback?

@agisilaos

Copy link
Copy Markdown
Member Author

Yep, I checked it out and I have some questions. Sorry for the delay though. @shiftkey

@agisilaos

agisilaos commented Nov 29, 2017 •

Copy link
Copy Markdown
Member Author

Whoops forgot to mention that I asked the questions in the snippets that you left some comments @shiftkey ✌️✌️

@shiftkey shiftkey removed their assignment Dec 4, 2017
@shiftkey shiftkey removed the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Dec 6, 2017
@shiftkey

Copy link
Copy Markdown
Member

@timofonic this has been on hold because we're still figuring out the right way out of this. The details in here are important: #3347 (comment)

@shiftkey

Copy link
Copy Markdown
Member

@agisilaos as there are some outstanding questions about the dialog design and implementation, I think we should take this discussion #3347 (comment) back to the original issue rather than keep this PR open

@shiftkey

Copy link
Copy Markdown
Member

@agisilaos as this touches more than just the order of buttons on screen, I'm going to close this out and cross-reference the key details back in #2463 until we can figure out a way out of this. Thanks for digging into it.

@shiftkey shiftkey closed this Jan 22, 2018
@maxbed

maxbed commented Jan 22, 2018 via email

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants