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

Ask user if they want to overwrite #1

Open
nikoladev opened this issue Mar 5, 2019 · 0 comments
Open

Ask user if they want to overwrite #1

nikoladev opened this issue Mar 5, 2019 · 0 comments

Comments

@nikoladev
Copy link
Owner

Right now it overwrites automatically.

Possible implementation:

  1. Loop through all names in the selection and the output folder and check there are no duplicates
  2. If there are no duplicates, continue as normal
  3. If there ARE duplicates, ask in a dialog if they want to overwrite or abort
  4. Set overwrite to true or false depending on their answer
  5. Possible: show which files were skipped if they didn't want to overwrite? (show this in a scrollable list in case there is lots to show)

Dialog samples that can serve as inspiration: https://github.com/AdobeXD/plugin-samples/tree/master/ui-dialog-variations

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

No branches or pull requests

1 participant