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

Bugfix: Content Picker Search - support allowed content types config #18042

Merged

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)

kjac and others added 13 commits January 22, 2025 12:04
…-allowed-content-types' into v15/bugfix/content-picker-search-allowed-content-types
…content-types
… of https://github.com/umbraco/Umbraco-CMS into v15/bugfix/content-picker-search-allowed-content-types
…content-types
@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:

…content-types
@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
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.

None yet

3 participants