Closed (fixed)
Project:
Experience Builder
Component:
Page builder
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Aug 2024 at 00:58 UTC
Updated:
23 Aug 2024 at 12:49 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
larowlanComment #3
wim leersComment #4
wim leersBut … wouldn't non-hash-based routing (like we currently have) be nicer? 🤔
It's just this silly redirect, this should be fixable.
Plus, https://www.drupal.org/project/decoupled_pages already solved this.
Comment #6
wim leersQuoting a chat between Jesse and I:
Based on that … just removing the redirect that the server does should be sufficient? 😅
I can load e.g.
… and that would be much simpler to solve once #3461431: Improve client side error handling is fixed I think? 😅
Comment #7
wim leers@larowlan
Why? 🤔
If this is the answer:
… then I get it. But AFAICT it really is trivial to fix that. And yes, the scope I defined in #6 is what should have been a follow-up issue before #3459235: Implement front-end (React) routing library landed 😕
Anyway … here's hoping @jessebaker can adjust the UI to respect the URL — making Drupal respect it was easy 😊
Comment #8
larowlanIf we can make this work, sounds great!
Comment #10
wim leers🚀
Given we have @larowlan's +1, revamping the issue summary!
Comment #11
wim leersWoah, looks like @jessebaker already fixed it! 😄
Now this just needs tests!
Comment #12
wim leers✅ Tests. Updated
xb-general.cy.jspasses.(In doing so, I discovered the existing test coverage was rather broken 😅)
Comment #13
wim leersComment #14
wim leersCypress tests are currently too brittle, probably due to the variability of the GitLab CI runners that drupal.org operates 😬
a11y.cy.jsfailed: https://git.drupalcode.org/project/experience_builder/-/jobs/2391963undo-redo.cy.jsfailed: https://git.drupalcode.org/project/experience_builder/-/jobs/2392056xb-general.cy.jsfailed: https://git.drupalcode.org/project/experience_builder/-/jobs/2392110Comment #15
wim leersFixing #14 is out of scope here. Explicitly made that part of the scope of #3456020 in #3456020-15: Harden Cypress E2E test against environment variability + document Cypress test best practices.
Comment #16
wim leersThanks for the review, @jessebaker! Merged in upstream commits and awaiting final CI run prior to merging…
Comment #18
wim leers