Skip to content

Content Picker Search - support allowed content types config#18042

Merged
madsrasmussen merged 44 commits intov15/devfrom
v15/bugfix/content-picker-search-allowed-content-types
Jan 29, 2025
Merged

Content Picker Search - support allowed content types config#18042
madsrasmussen merged 44 commits intov15/devfrom
v15/bugfix/content-picker-search-allowed-content-types

Conversation

@madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Jan 20, 2025

Fixes #17742

This PR adds filter options for allowedDocumentTypes, allowedMediaTypes, and allowedMemberTypes to the search endpoints, including client-side implementation in pickers.

What to test:

  • Please ensure that you can only see the configured types in a "Content Picker" (Document, Media, Member)

@madsrasmussen madsrasmussen marked this pull request as ready for review January 27, 2025 08:32
Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it out, works great! 🚀

I tried to resolve the merge conflict, (with the input-rich-media.element.ts and property-editor-ui-media-picker.element.ts files), but then I didn't want to make any assumptions on the changes. If you can resolve the merge conflicts, I'll get the PR merged in. :shipit:

@madsrasmussen
Copy link
Contributor Author

@leekelleher awesome. Merged conflicts are fixed. I have set the PR to auto-merge 🤞

@madsrasmussen madsrasmussen merged commit 469fd14 into v15/dev Jan 29, 2025
28 of 29 checks passed
@madsrasmussen madsrasmussen deleted the v15/bugfix/content-picker-search-allowed-content-types branch January 29, 2025 08:23
@madsrasmussen madsrasmussen changed the title Bugfix: Content Picker Search - support allowed content types config Content Picker Search - support allowed content types config Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants