Skip to content

Discard All Changes - #856

Merged
niik merged 14 commits into
masterfrom
de-card
Jan 30, 2017
Merged

niik merged 14 commits into
masterfrom
de-card

Conversation

@joshaber

@joshaber joshaber commented Jan 26, 2017 •

Copy link
Copy Markdown
Contributor

Fixes #319

screen shot 2017-01-27 at 10 00 41 am

Comment thread app/src/ui/discard-changes/index.tsx Outdated
return (
<div>
Are you sure you want to discard all changes?
<div>&nbsp;</div>

This comment was marked as spam.

return (
<div>
Are you sure you want to discard all changes?
<div>&nbsp;</div>

This comment was marked as spam.

This comment was marked as spam.

@joshaber joshaber changed the title [WIP] Discard All Changes Discard All Changes Jan 27, 2017
@joshaber

Copy link
Copy Markdown
Contributor Author

One open question, but otherwise this is ready 🙏

@niik niik self-assigned this Jan 30, 2017
export class DiscardChanges extends React.Component<IDiscardChangesProps, void> {
public render() {
const paths = this.props.files.map(f => f.path).join(', ')
const trashName = __DARWIN__ ? 'Trash' : 'Recycle Bin'

This comment was marked as spam.

@niik

niik commented Jan 30, 2017

Copy link
Copy Markdown
Member

I'm going to have to make some tweaks to this regardless in #860 so I'll merge as-is with the empty div and address that separately.

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.

2 participants