[Element Selector] Support searchPath scoping for image field types - #3993
[Element Selector] Support searchPath scoping for image field types#3993cancan101 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
|
🚫 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. |
|
|
👋 Friendly reminder — this pull request is still a draft. A guardrail converted it to draft because something needed fixing, and there has been no activity since. If nothing changes, it will be closed in 14 days. To keep it open, just take one of these steps:
Closing is not rejection: the branch and the discussion stay, and the PR can be reopened at any time. When fixed, press Ready for review to re-run the checks. |



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