Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Discard changes should warn user of action #481

Closed
@ungb

Description

@ungb

Similar to github Desktop, We should warn a user if they accidently click discard changes, since there's no way to get back then changes they discard.

Versions

Atom Version (atom --version):
Atom : 1.15.0-dev-ac3b95f
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0
GitHub Package Version (git --git-dir ~/.atom/packages/github/.git rev-parse head):
d64f6c5

Current behavior:

Use case:Trying to click stage but accidentally click discard changes with my butter fingers!
wanted to stage

On Github Desktop:
desktop

This could lead to a very bad experience if someone accidentally discard their changes when they really wanted to stage them.

/cc @simurai @kuychaco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions