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

Accidentally adding a new file to a collection #999

Open
richardjpope opened this issue Jun 12, 2020 · 2 comments
Open

Accidentally adding a new file to a collection #999

richardjpope opened this issue Jun 12, 2020 · 2 comments

Comments

@richardjpope
Copy link

Expected Behaviour

It should be possible to undo the addition of a file when editing a collection

Current Behaviour (for problems)

When editing a collection, if you accidentally click the blue "save and add another file" button rather than the orange "Submit collection for validation" one, it creates and error and it is not posssible to undo.

Steps to Reproduce (for problems)

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant

  1. Create a collection and add a single file
  2. Edit it again and click the blue button
  3. Try and click the orange button
@caiwilliamson
Copy link
Collaborator

I assume this is all taking place on the page where you create a new collection i.e. https://octopub.io/datasets/new, and not on the page for editing a collection i.e. https://octopub.io/datasets/54/edit. Because the latter does provide a delete button in the top right if you click "Save and add another file" accidentally.

@richardjpope
Copy link
Author

That's correct

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

2 participants