-
Notifications
You must be signed in to change notification settings - Fork 308
"Upload from URL" option in the upload form #353
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
Conversation
cjchirag7
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall , it seems to be a cool feature. I would recommend to make the changes suggested in the comments.
Also, from the UI/UX point of view, I would suggest that instead of creating a Modal inside another Modal, it should be better to replace the File Browse row by Enter file URL row, when user clicks on 'Upload via URL', in the same modal. And now, an option must be shown , saying 'Upload file from system' , clicking on which will again replace the Enter file URL row by File Browse row. The need for this shall be clear in this screencast, when user tries to upload a file from URL, but then wants to upload the file by browsing, instead -

So, with this approach, also it must stop the upload via the first process, when the user shifts to the other process . For eg., when user is uploading the file through URL, and suddenly shifts to browsing from system, then the upload through URL must stop, without any wait , and vice-verca.
Co-Authored-By: Chirag Jain <cjchirag7@gmail.com>
Co-Authored-By: Chirag Jain <cjchirag7@gmail.com>
Co-Authored-By: Chirag Jain <cjchirag7@gmail.com>
@akhil-rana , I would suggest removing this modal and instead, replacing the |
Okay. Nice. |
cjchirag7
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine! But I wonder if the loading spinner can also be shown when the file is being uploaded from the local system, as the upload mechanism seems to be the same there also.
It can be done but won't be visible for long in case of local hosting and small files though. |
|
There's a semi-related case that may/may not be worth adding; existing files. This is mostly used when files are introduced through some unknown means (e.g. mounting an images dir with existing slides). We'd know the slidename, and we wouldn't have to upload/finish in that case, since the file would already be ready. |
|
This 'upload from URL' feature just adds the file into the Now, according to current workflow file with same name is not allowed to be shifted to Maybe we can add a feature like: But I don't think it is a part of this. |

An option to upload the slide image from URL has been added.
This feature works with SildeLoader #28
Note that the speed of upload depends on both the source and the destination.
