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
Warn leaving users about running uploads #2590
Comments
Hi, I know this issue is old, but it still seems to exist. Can I take this up? |
Hey @anaswaratrajan, do you need any more details/help to get started? Happy to have you give it a shot 💪🏽 |
@pascalwengerter, Thanks! I'm currently having some issues with the setup. Can't seem to login with the test credentials. Looking into it. But I was able to navigate the respective file upload, progress components and get some ideas on how to implement a solution. Will let you know if I'm having trouble. |
@anaswaratrajan just assigned you to this for now ;) Could you give us an overview on how your local setup looks like/what you've tried to get it running? |
Followed these instructions and docker to serve OCIS. |
Feel free to join us on https://talk.owncloud.com/channel/phoenix and ping me using the What's the error message you're getting right now? |
Seems odd, how are you running oCIS (built locally, Docker, using a VM client etc)? And did you kill the Also, any clues within the logs? |
I'm running OCIS with Docker. I tried this Found this in logs
|
Edit: It's a bit more complex due to Docker, an easier way would be downloading and running the binary (guide). Could you confirm that your |
Steps
Expected result
A browser warning appears to tell that the upload will cancel if the user proceeds to leave.
Actual result
No warning, upload is cancelled. Confused user.
This should be a metter of adding a
window.onbeforeunload
or similar to the right places and check for pending uploads (or any other operation, really)@LukasHirt @hodyroff as discussed
The text was updated successfully, but these errors were encountered: