Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: component restore with context menu #131

Merged
merged 1 commit into from
Aug 30, 2019
Merged

feat: component restore with context menu #131

merged 1 commit into from
Aug 30, 2019

Conversation

chriswhong
Copy link
Contributor

  • Implements qri restore via an electron context menu on the component list and a new action discardChanges(component)
  • The 'Discard Changes' option is only available if the component is linked and has a status !== 'unmodified'
  • Two additional context menu options are available if the file is linked:
    • Copy File Path
    • Show in Finder

image

@chriswhong chriswhong requested a review from b5 August 30, 2019 21:18
Copy link
Member

@b5 b5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@b5 b5 added feat ui react components, ui, layout labels Aug 30, 2019
@b5 b5 merged commit 93e81df into master Aug 30, 2019
@b5 b5 deleted the qri-restore branch August 30, 2019 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat ui react components, ui, layout
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants