Closed (fixed)
Project:
Experience Builder
Version:
0.x-dev
Component:
Page
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2024 at 20:49 UTC
Updated:
24 Dec 2024 at 13:34 UTC
Jump to comment: Most recent
Pages should be created and edited in Experience Builder, not the normal Drupal entity form
See #3482259: Landing page integration: new content entity type for unstructured content.
Set up link handler and link templates that match XB experience_builder.experience_builder route
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 #2
mglamanComment #3
wim leersComment #4
lauriiiComment #5
mglamanComment #6
mglamanFound a flaw. The route
experience_builder.experience_builderrequires a saved entity. There isn't a "new entity" route yet. I don't know if this issue should be modifying\Drupal\experience_builder\Controller\ExperienceBuilderController::__invoketo allow$entityto be nullable.This would break if null. But the entity type is a route parameter, so it could be added as a method argument.
Then in the method, if the entity is null we could pass an ID of `0`?
Comment #8
mglamanComment #9
wim leers+1'd your first proposal, as did @lauriii, so I think you're unblocked 😄
Comment #10
mglamanReady for some full reviews!
Comment #12
wim leersLooking good!
Asked for a bunch of clarifications, and I think I see a whole range of small simplifications. 😇
Comment #13
mglamanNeeds review. I think we can update some
@todoto point to #3489775: Consider removing baseQuery in favour of explicity requiring the params in each api call.Comment #14
wim leers🏓 @mglaman, see #3489302-39: Preview entire page not just content area WRT the blocker.
Comment #15
wim leersComment #16
wim leersempty-canvas.cy.jshas been failing since https://git.drupalcode.org/issue/experience_builder-3487075/-/pipelines/.... I suspect it's related to the big E2E test refactor in #3481736: Adapt E2E tests to work with auto-save. So I just reverted that file toorigin/0.x's and re-wrapped it in the.forEachthat @mglaman did. And … I arrived at the exact same set of changes, not even a single character difference.Others have touched the E2E tests more often than I have and are better equipped (and have more time) to debug this.
See review on the MR https://git.drupalcode.org/project/experience_builder/-/merge_requests/4... for the other bits of feedback.
Comment #17
mglamanReplied about the enhancer. And the test passed once I added video recording to debug... so let's see if it passes again when I remove videos.
Comment #20
wim leersComment #21
wim leersPushed the one clean-up commit I apparently failed to push on Dec 3 🙈
There's only 2 hunks that I cannot approve in principle:
ui/tests/e2e/empty-canvas.cy.js, which was also worked on by @hooroomoo, who's done their fair share of writing/expanding E2E testsSo, bypassing approval for those 2 small hunks only.
Comment #23
wim leers