Skip to content

Conversation

@JarrodMFlesch
Copy link
Contributor

@JarrodMFlesch JarrodMFlesch commented Jun 2, 2025

Adds configurations for browse-by-folder document results. This PR does NOT allow for filtering out folders on a per collection basis. That will be addressed in a future PR 👍

Disable browse-by-folder all together

type RootFoldersConfiguration = { /**  * If true, the browse by folder view will be enabled  *  * @default true  */ browseByFolder?: boolean // ...rest of type }

Remove document types from appearing in the browse by folder view

type CollectionFoldersConfiguration = | boolean | { /**  * If true, the collection documents will be included in the browse by folder view  *  * @default true  */ browseByFolder?: boolean }

Misc

Fixes #12631 where adding folders.collectionOverrides was being set on the client config - it should be omitted.

Fixes an issue where document baseListFilters were not being respected.

@JarrodMFlesch JarrodMFlesch merged commit 337f618 into main Jun 4, 2025
227 of 231 checks passed
@JarrodMFlesch JarrodMFlesch deleted the fix/folder-baseListFilters branch June 4, 2025 17:22
@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2025

🚀 This is included in version v3.41.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment