[DataObject] Add searchPath option to Image, Hotspotimage & ImageGallery - #19364
[DataObject] Add searchPath option to Image, Hotspotimage & ImageGallery#19364cancan101 wants to merge 1 commit into
Conversation
Adds a new "searchPath" class-definition setting next to "uploadPath" for the image-flavored data types. While uploadPath only targets inline uploads, searchPath lets the asset search dialog of the field open pre-scoped to a configured asset folder (as a visible, user-clearable filter — a soft default, not a restriction). The property is serialized to the UI automatically via the public-props JSON serialization, so the admin UIs (Studio / classic) can consume it from the field configuration. Refs pimcore#17157 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rf6z83yKPGdQKoVS5B2UeT
Review Checklist
|
|
🚫 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. |
|
🚫 CI & merge-readiness guardrail failed — this PR has been converted to draft. A PR can only be merged when it has no conflicts with the base branch and all CI checks pass.
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 a new "searchPath" class-definition setting next to "uploadPath" for the image-flavored data types. While uploadPath only targets inline uploads, searchPath lets the asset search dialog of the field open pre-scoped to a configured asset folder (as a visible, user-clearable filter — a soft default, not a restriction).
The property is serialized to the UI automatically via the public-props JSON serialization, so the admin UIs (Studio / classic) can consume it from the field configuration.
Changes in this pull request
Resolves #17157
Additional info
Additional info: UI support implemented in pimcore/studio-ui-bundle#3993, the property is inert without it.