Closed jameshadfield closed 2 months ago
Just came here to request this :) Wanted to load a tree on mobile where I can't drop
I created #77 which simply adds a file picker on the splash page. This doesn't address most of the features in the issue description, which are more about generally handling other file loading scenarios that extend beyond initial load from the splash page.
Closing this since there is a file picker now. Feel free to re-open or create separate issues for the other features.
Context
The current drag-and-drop interface is limiting for a number of reasons, and was primarily implemented due to simplicity. It enforces that all files are dragged on at the same time (except those files which shouldn't be, such as metadata CSVs!), and with the implementation of narratives/sidecar files in https://github.com/nextstrain/auspice.us/pull/23 there is no way to order the datasets for tangletrees. Furthermore, some users are more familiar with a "select file(s)" interfaces. Nextclade has a nice simple example of such as UI.
Description
The following functionality is desirable, but a MVP could implement only a subset:
X.json
andX_measurements.json
are grouped). I'll use the term "slot" for this below.X_measurements.json
whereX.json
wasn't dropped on).meta.panels
. We should indicate when this is not the case, as the sidecar won't load.