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

do something when image batch is done being uploaded #84

Open
ebrahimebrahim opened this issue Aug 10, 2022 · 0 comments
Open

do something when image batch is done being uploaded #84

ebrahimebrahim opened this issue Aug 10, 2022 · 0 comments

Comments

@ebrahimebrahim
Copy link
Collaborator

Imagine you are uploading images one by one in the page /upload/1, and you keep refreshing to see what images are remaining.
Once you upload the last one and you are done, the batch is deleted and so when you refresh again you see this:

Peek 2022-08-10 11-26

The problem is that this looks like something is broken, rather than indicating that we were successful in uploading all the images and are ready to move to the next step.

A few solutions:

  • Once the batch is deleted, redirect to the "images" page.
  • When a user attempts to access the page for a nonexistent batch, instead of showing an infinitely loading table, present a link that directs the user to the images page.
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