Draft: feat(Theme builder): #3585355 Entity Reference Selection UI
Implements entity reference selection UI for managing content entity reference props in Canvas code editor. (designs)
Some caveats apply: #3585355 (comment 1070022)
Dependencies:
- Backend api endpoints: !1112 (currently includes commits from it, will be rebased out once it merges).
- Client-side transform for entity_reference_autocomplete: !626 required to actually use entity reference props added via this UI and to run Playwright tests added in this MR.
Actual changes from this MR are scoped to the ui/ and tests/src/Playwright/ directories.
AI-Generated: Yes (Used Claude Code to plan and iterate over the implementation).
Testing instructions
- pull changes and rebuild the ui (
npm run build -w ui) - open Canvas code components list and open one of the components in the code editor (or create a new one)
- add a new prop of type
Entity reference - select entity type and bundle
- select some fields
- save changes
- verify that the saved component has value properties of selected fields saved in its
dataDependencies.entityFields
Closes #3585355