Basic file upload input
Resolves #7 (closed).
Shows a preview for the selected file (the file name and an image embed if the file has an image MIME type).
Supports multiple file upload (shows a preview modal one-by-one for each selected image, showing a "n/total" and "remaining" string, and showing "Skip" instead of "Cancel").
For now, does not include code to actually send the image to the backend (it just console.logs each confirmed file for now).
Basic upload:
Non-image upload:
Upload multiple:
Upload a wide image:
While it's nice to see the whole image in its proper aspect ratio, it sort of messes up layout as seen above, particularly regarding the "x/y: n remaining" paragraph. I imagine a better look would be if the image embed was always square. Thoughts?
/cc @alyssa -- I don't think we have a backend API for uploading images yet, but this should give you a frontend to work with!