czbiohub-sf / Rapid-QC-MS

Realtime quality control for mass spectrometry data acquisition
https://czbiohub-sf.github.io/Rapid-QC-MS
Other
15 stars 2 forks source link

Handle first-time setup flow #39

Closed wasimsandhu closed 2 years ago

wasimsandhu commented 2 years ago

In spite of #28, the first-time setup will now consist of two options:

I'm setting up MS-AutoQC on a new instrument

If the user elects to sync with Google Drive, then we first need to check if a Google Drive folder ("MS-AutoQC workspace") exists.

Then the instrument will be added to the instruments table.

If the user does not sync with Google Drive, a new SQLite database will be initialized and the instrument will be added to the instruments table.

I'm signing in to an existing MS-AutoQC workspace

The user will be prompted to sign in to Google Drive. Once authenticated and an MS-AutoQC workspace is found in Drive, they are good to go. If no workspace is found, an error message will be returned.

wasimsandhu commented 2 years ago

Image

Screen Shot 2022-11-02 at 3 33 13 PM