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(components): Adding Quick Delete to FormatFile #2321

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

scotttjob
Copy link
Contributor

Motivations

  1. Were curious about what it would take to update quick delete to add the ability to bypass the confirmation modal.

Changes

  1. Added a 'quickDelete' prop (name up for consideration) that allows you to bypass the confirmation modal, and immediate hit the onDelete callback on press.

Testing

  1. There is a new Quick Delete Story, if you hit the 'X' button on the Image thumbnail, it immediately calls the onDelete callback.

Changes can be
tested via Pre-release


In Atlantis we use Github's built in pull request reviews.

Random photo of Atlantis

Copy link

cloudflare-workers-and-pages bot commented Jan 17, 2025

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 69cee61
Status: ✅  Deploy successful!
Preview URL: https://525087a1.atlantis.pages.dev
Branch Preview URL: https://scott-t-formatfile-quickdele.atlantis.pages.dev

View logs

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

Successfully merging this pull request may close these issues.

1 participant