brantje / nextnote

A full Evernote / OneNote style WYSIWYG note editor for Nextcloud / ownCloud. Join our telegram at: https://t.me/NextNote
GNU Affero General Public License v3.0
163 stars 19 forks source link

Cancel button & Progress Bar for pending uploads #82

Open sunjam opened 6 years ago

sunjam commented 6 years ago

While creating a feature request for supported image formats to add to NextNote, I noticed that NextNote does not give any visual feedback to a user uploading larger files of a few megabytes+ into a note. Example: uploading a 20mb m4a video file + 40mb psd file completely crashed Firefox on MacOS after several minutes of waiting, plus I could not open Activity Manager app in order to Force Quit the browser itself... instead I cold rebooted the entire computer. A spinning wheel of death/thinking cursor took over and there was nothing I could do to end the upload.

A cancel button/keyboard shortcut, ideally the Exit key + a 2nd pane item showing current status of the note, would be much appreciated.

brantje commented 6 years ago

Embedding via a url is something i try to avoid. What if the file is deleted / moved / edited?

brantje commented 6 years ago
Example: uploading a 20mb m4a video file + 40mb psd file completely crashed Firefox on MacOS

Doubt i will ever support such large files. You can link to them, but embedding them as a base64 string, yea, that would kill even NASA's pc's. I think we should limit the max filesize, to eg 5 or 10 mb.

sunjam commented 6 years ago

Doubt i will ever support such large files. You can link to them, but embedding them as a base64 string, yea, that would kill even NASA's pc's. I think we should limit the max filesize, to eg 5 or 10 mb.

Curious how you will handle imported Evernote notes, since they could be up to 200mb each. Integrated Google Drive file links, which become fully indexed, have no size limit at all. Haven't tried it yet, but I've attached plenty of large files that hit max size.

Also, added both of these files to a new note in Evernote on iOS. They displayed locally instantly (or within a second or two) then only took a certain number of seconds to upload to the Evernote Cloud. Perhaps it is do-able!

enoch85 commented 6 years ago

Tested a 5.4 MB picture yesterday and it crashed.