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

Enhancement/confirm delete modal #10

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

margaretmeehan
Copy link
Collaborator

@margaretmeehan margaretmeehan commented Nov 5, 2019

Adds a confirmation modal before deleting labels and users as requested in issue 314

Screen Shot 2019-11-04 at 4 39 30 PM

Copy link

@c-w c-w left a comment

Choose a reason for hiding this comment

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

Code looks good. However, given that the confirmation modal code is now used in three places (label.vue, users.vue and projects.vue), I wonder if it's worth extracting a component that wraps the shared functionality of showing/hiding the modal, displaying a text alongside the confirm/cancel buttons, and running an action when the user clicks the confirm button.

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