- Issue created by @lauriii
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
This was definitely a bug while ✨ Store and calculate dependencies in `JavaScriptComponent` Active was in without ✨ Set code component dependencies based on import statements Active having landed.
It seems that has not yet taken advantage of 🐛 PATCH request for config entities reset values that are not sent Active , and is hence doing more than just setting
status: true
, because the error message literally says what's going on:compiled_js
orsource_code_js
are being sent, which then also requiresimported_js_components
to be sent.The UI should surface the validation errors provided by the server explicitly, instead of telling the user to look at the browser console, by doing 📌 Add (validation) error handling to AddCodeComponentDialog and friends Active .
- 🇺🇸United States hooroomoo
🐛 Adding component to component library results in component code and configuration being lost Active is supposed to update the client PATCH requests to only include the wanted changes instead of also including the compiled/source_js in the request which I started on in this MR: https://git.drupalcode.org/project/experience_builder/-/merge_requests/9...
But currently doing that results in the component not working in the preview, I think due to something with the auto-save. I am hoping 📌 Add a route for PATCHing both a config entity and its auto-saved version together Active will unblock 🐛 Adding component to component library results in component code and configuration being lost Active which would then fix this issue.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
But currently doing that results in the component not working in the preview,
What are the symptoms? And that is specifically when trying the 🐛 Adding component to component library results in component code and configuration being lost Active MR? Is that what #3513147-8: [PP-1] Using actions from the contextual menu from the sidebar list overrides code component with its latest non-autosaved version → is about?