Open ShrimpCryptid opened 3 months ago
There is a working prototype for this but the PR is currently in draft because there are some big differences in the user experience by browser. See this ticket for more detail: https://github.com/allen-cell-animated/timelapse-colorizer/issues/379
The crux is that loading very large datasets over a network drive can be extremely slow and is not a cancelable operation, even when refreshing the page. On certain non-Chromium browsers (Safari, Firefox) this gets even worse because we cannot tell how many files need to be loaded.
Use Case
Allow users to load local datasets or collections by either picking a directory or dragging and dropping a directory into the browser
Acceptance Criteria
Possible APIs here: https://web.dev/patterns/files/open-a-directory Note that there's a modern version which is only available in Chromium browsers. We'll likely need to use a fallback or use the old
webkitdirectory
API.Details