Overview
When navigating to /xb/node/1, two requests are sent to
/api/preview/node/1
:
- the second one for the actual preview
- the first one for "the empty canvas/component tree":
{"layout":{"uuid":"root","nodeType":"root","name":"root","children":[]},"model":{}}
That's wasteful and rather pointless.
Proposed resolution
Eliminate that first request.
User interface changes
TBD
Issue fork experience_builder-3467176
Show commands
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 #4
omkar-pd commentedComment #6
utkarsh_33 commentedFixed the test.Assigning it to @jessebaker for a review.
Comment #7
wim leersDoes the test actually fail without the non-test change? I don't think it does.
Comment #8
utkarsh_33 commentedAdded test for the change.
Comment #9
utkarsh_33 commentedComment #10
utkarsh_33 commentedI'll update the changes.
Comment #11
utkarsh_33 commentedComment #13
wim leersComment #15
jessebaker commented