location-history-visualizer
location-history-visualizer copied to clipboard
Warn the user if uploading a file that is not json
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 ;) )
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.
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.