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

Add Done button when upload is successfully finished #1510

Closed
jazkh opened this issue Apr 30, 2019 · 6 comments · Fixed by #2653
Closed

Add Done button when upload is successfully finished #1510

jazkh opened this issue Apr 30, 2019 · 6 comments · Fixed by #2653
Labels
UI User Interface issues

Comments

@jazkh
Copy link

jazkh commented Apr 30, 2019

Uppy 1.0.0
Browser: Chrome
Windows 10

Close button is not displaying properly in Dasboardmodal and shows out of the dashboard window.
Also, there is no Done button when upload is successfully finished.
uppy

@goto-bus-stop
Copy link
Contributor

The × is actually at the intended position there 😅

As for a "done" button, you do indeed need to close the modal using the × after everything is finished… @nqst (don't answer today!), do you think an additional "Done" button in the bottom right of a "Completed" status bar could make sense?

@goto-bus-stop goto-bus-stop added Dashboard UI User Interface issues and removed Bug Triage labels May 1, 2019
@nqst
Copy link
Contributor

nqst commented May 2, 2019

@jazkh, yeah it's intended to have the [×] button outside the window. We want it to be placed outside, because some parts of UI are placed in the upper right corner, like on the screenshot below. Placing the close button there will cause a conflict.

image

@goto-bus-stop, I like the idea of having a [Done] button there (and in the inline mode too)! Might be useful when users want to upload even more files after the upload has finished. Adding this button will also provide an ability to easily return to the initial state, which is a must-have. Would also like to invite @arturi to discuss this.

@arturi
Copy link
Contributor

arturi commented May 15, 2019

I like the [Done] button idea, but wonder how it would work with StatusBar outside the Dashboard. It can be added as an option for StatusBar showDoneButton, set true when used with the Dashboard. What would the button do in the code, call uppy.reset()? That won’t close the Dashboard modal 🤔

@arturi
Copy link
Contributor

arturi commented May 15, 2019

Done button was requested earlier as well: #875

@arturi arturi changed the title DashboardModal Close button problem Add Done button when upload is successfully finished May 21, 2019
@arturi
Copy link
Contributor

arturi commented May 21, 2019

DevinCarpenter:

I think it would be a good idea to add in the option of some sort of custom button that pops up on the Uppy Dashboard after adding images/files, and maybe an onclick option for it.

In my case I needed a 'Done' button as I was using a custom button for uploading and didn't need the upload button on the dashboard, but still wanted something to pop up. I've already hacked it to work so the button closes the dashboard so this is just a suggestion.

Big thanks Uppy team you guys are rockin it.

capture

@kvz
Copy link
Member

kvz commented Jun 3, 2019

Hi there, we like this idea and we've moved this to our backlog. We don't have an ETA for this yet though, and if someone in the community feels like contributing a PR we would be very grateful! Closing this issue here now but we'll re-open when we get to it.

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

Successfully merging a pull request may close this issue.

5 participants