Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add GRID/LIST viewMode option #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeopard
Copy link

@jeopard jeopard commented Feb 27, 2024

Allow to default to a Grid or List view

The reason for this change is that list view is particularly useful when using the drive.file scope. This scope doesn't give you access to files that haven't been selected by the user (through the picker) explicitly, so the grid view previews are all blurred.

drive picker grid blurry

Defaulting to list view improves UX.

docs


Also added in the README the possibility to add the appId param, which wasn't there. This is also needed when using the drive.file scope, so that your app gains access to the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant