Improve Google Drive Preset #2921
Labels
good first issue
Issues easy to implement or with a narrow scope of changes
os:mac
storage:google-drive
type:enhancement
Improvements on an existing feature
Please agree to the following
Summary
Auto detect all accounts and drives
Motivation
Currently, our
GoogleDriveLocationPresetsProvider
checks a hard-coded path~/Google Drive/My Drive
, which is partly incorrect (on non-english locales) and partly incomplete (when using multiple accounts or multiple drives per account) - see #2918 (comment).Instead, we should look for
~/Library/CloudStorage/GoogleDrive-*/*
. The display name should be composed of both the account name (first*
) and the drive name (second*
).Considered Alternatives
No response
Anything else?
This would likely also solve issue #1930
We might need to refactor the UI to support a) longer display names and b) a longer list of found clouds.
Feel free to move this issue to
integrations-mac
, if the API has been externalized by the time you start working on it. 😉The text was updated successfully, but these errors were encountered: