Closed (fixed)
Project:
Experience Builder
Component:
Page builder
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2024 at 08:06 UTC
Updated:
22 Jul 2024 at 07:44 UTC
Jump to comment: Most recent
Having multiple Previews currently means that every call to update the src of the iFrame is made once per preview.
Make a change to the layout and observe in the network tab there are multiple calls to /api/preview
At this point, inserting a component at a higher level that just deals with fetching the data from the back end seems the best solution. While there, much of the logic where we are injecting/binding events inside the iFrame can probably be tidied too.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lauriiiComment #4
bnjmnmLeft some comments on the MR that are largely refactoring suggestions that I spotted while reviewing. In the early stages I think that type of feedback would just slow things down, but since this is part of an effort to make the UI codebase more approachable it's probably time to start doing a bit more of that.
Comment #6
wim leersComment #7
wim leersComment #8
jessebaker commentedMarking as Fixed.
As for screenshots - I like the idea of a screenshot being included so, agreed! In this case, though, the work was to refactor/re-architect some code but visually almost nothing changed.
Comment #9
wim leers#8: RE: screenshots: 👍
Comment #10
wim leers