Closed eyeseast closed 2 weeks ago
With the upload form on its own route, is there a way to pre-load it with files? The files variable is already exported/settable for testing purposes. Ideally, we could wrap the ResultsList in a Dropzone that routes to the upload form with the dropped files.
With the upload form on its own route, is there a way to pre-load it with files? The files variable is already exported/settable for testing purposes. Ideally, we could wrap the ResultsList in a Dropzone that routes to the upload form with the dropped files.
Good question. I bet there is a way, so long as we're client-side routing.
A little bit of research points to writable stores being a good way to pass data between routes, which makes sense!
goto(/* uploads route*/)
The current manager interface allows a user to start and upload by dragging a file into the search area. We should continue to let people do some version of this.