location-history-visualizer icon indicating copy to clipboard operation
location-history-visualizer copied to clipboard

Warn the user if uploading a file that is not json

Open pimveldhuisen opened this issue 3 years ago • 2 comments

To prevent people from accidentally uploading just the whole .zip file from Google Takeout and waiting forever.

(This is definitely a hypothetical scenario and not something I did ;) )

pimveldhuisen avatar Nov 16 '21 21:11 pimveldhuisen

Perhaps checking the file extension is not the best way of doing this, but the current behavior is an infinite wait, and the chances that you really really want this website to parse a JSON file that is not saved with a .json extension seems very slim to me.

pimveldhuisen avatar Nov 16 '21 21:11 pimveldhuisen

To prevent people from accidentally uploading just the whole .zip file from Google Takeout and waiting forever.

This happened to me. Definitely should be merged.

monstermac77 avatar Sep 14 '22 01:09 monstermac77