Skip to content

add GRID/LIST viewMode option#67

Open
jeopard wants to merge 1 commit intoJose-cd:masterfrom
wordsmith-ai:set-docs-view-mode
Open

add GRID/LIST viewMode option#67
jeopard wants to merge 1 commit intoJose-cd:masterfrom
wordsmith-ai:set-docs-view-mode

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