[Element Selector] Support searchPath scoping for image field types - #3993
Draft
cancan101 wants to merge 1 commit into
Draft
[Element Selector] Support searchPath scoping for image field types#3993cancan101 wants to merge 1 commit into
cancan101 wants to merge 1 commit into
Conversation
Adds support for the new "searchPath" class-definition option on the Image, Image Advanced (hotspotimage) and Image Gallery data types (companion to the pimcore/pimcore core change, refs pimcore/pimcore#17157). When a search path is configured on the field, the asset selector opens with a pre-applied "fullpath" filter seeded from it. The filter is a soft default: it is visible in the selector's Filters sidebar and can be modified or cleared by the user. - element selector config: new config.assets.searchPath option - GeneralFiltersDecorator: new initialFilters config, passed as initialValues to the applied-filters store (reset still clears to the unseeded defaults) - asset selector listing: seeds a fullpath field filter from searchPath - image / hotspot-image / image-gallery components: thread searchPath from the field definition into every element-selector call site - class editor: "Search Path" folder picker next to "Upload Path" for all three field definition forms Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rf6z83yKPGdQKoVS5B2UeT
pimcore-deployments
marked this pull request as draft
August 14, 2026 21:12
Collaborator
|
🚫 Issue-link guardrail failed — this PR has been converted to draft. Every PR must reference a tracking issue in
Add the link with a keyword in the PR description (not in a comment): https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests When fixed, press Ready for review to re-run the checks. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Adds support for the new "searchPath" class-definition option on the Image, Image Advanced (hotspotimage) and Image Gallery data types (companion to the pimcore/pimcore core change, refs pimcore/pimcore#17157).
When a search path is configured on the field, the asset selector opens with a pre-applied "fullpath" filter seeded from it. The filter is a soft default: it is visible in the selector's Filters sidebar and can be modified or cleared by the user.
Claude-Session: https://claude.ai/code/session_01Rf6z83yKPGdQKoVS5B2UeT
Changes in this pull request
Resolves pimcore/pimcore#17157
Additional info