core icon indicating copy to clipboard operation
core copied to clipboard

feat(edit-content): change component hydration strategy on UVE

Open KevinDavilaDotCMS opened this issue 8 months ago • 1 comments

Proposed Changes

  • Changed the strategy of hydration layout component in UVE: Now we reuse the current dotcms session token to get the pageAPI responses, and the layout component is hydrated by UVE using postMessage.
  • Removed onReload functions: Now we dont need to "recharge" the iframe after add/edit/etc contentlets inside UVE
  • Added vanityUrl inside UVE
  • Fixed vanityUrl in NextJS example
  • Fixed vanityUrl in Angular example

Considerations: -With this change, the website have a frontend user permission, so pages like "members" cannot render in frontend page, because it have a specific user permission. To render it, we need to manually add the frontend permission

https://github.com/dotCMS/core/assets/144152756/6e401349-d3ef-4af7-ac64-fd249024602d

KevinDavilaDotCMS avatar Jun 24 '24 05:06 KevinDavilaDotCMS