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.
If a workspace exists, the existing database will first be downloaded from Google Drive.
If a workspace does not exist, a new Google Drive folder will be created and a new SQLite database will be initialized.
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.
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.