Wim Leers: XB week 29: adieu, dizzying drag and drop

It’s hard to imagine, but … until now, Experience Builder’s (XB) live preview of the component tree (not to be confused with XB’s chrome-free preview mode) the content creator is assembling has been very imperfect. This week Dave “longwave” Long, Ben “bnjmnm” Mullins, Jesse Baker, Felix “f.mazeikis” Mazeikis, Lauri “lauriii” Timmanee, Bálint “balintbrews” Kléri and I made it just slightly imperfect:

XB’s live preview now shows “global regions” (theme regions) and their contents … with some caveats: the “main content” is still inaccurate! It shows the XB component tree for the current content entity, nothing else.
Until XB is updated to actually use the previewed route’s controller, and until XB is used to render all fields in the content entity type+bundle, it’ll remain imperfect.
Issue #3489302, image by Lauri.

Jesse, Bálint, Gaurav “gauravvv”, Chris “cosmicdreams” Weber and Kristen Pol made an (unintentionally) trippy experience in Experience Builder less dizzying. 😵‍💫😅 From:

XB’s “trippy drop” rather than “drag and drop” 🙈🤣
Issue #3476354, image by Lauri.

To:

Dragging and dropping is no longer dizzying, plus now has clear affordances for dropping into the root.
Issue #3476354, image by Jesse.

As promised last week, this week the approach we landed on for the xb_page content entity type (aka “landing pages”) got properly documented in an Architecture Decision Record (ADR): see docs/page-entity-type.md for all glorious details 🤓 Kudos to Matt “mglaman” Glaman, Ted “tedbow” Bowman, Lauri, John “johnwebdev”, Pamela “pameeela” Barone, Alex “effulgentsia” Bronstein, danielveza, Bálint and Dave for making this happen!

Missed a prior week? See all posts tagged Experience Builder.

Goal: make it possible to follow high-level progress by reading ~5 minutes/week. I hope this empowers more people to contribute when their unique skills can best be put to use!

For more detail, join the #experience-builder Slack channel. Check out the pinned items at the top!

Actual saving

Last week, we introduced the server-side support for saving your XB creations, this week Lauri, Jesse and Lee did the client-side part: a “Publish” button that saves it. This is only going to be short-lived though: we expect to replace this with listing all auto-saved changes and allowing you to publish them all at once.

Storybook

XB adopted Storybook this week for its UI components, thanks to Atul “soaratul” Dubey, Tina Rey and Bálint “balintbrews” Kléri — which means that we’re starting to have a nice overview of all XB’s UI components (not to be confused with XB Components! 🤓). XB has a whole range of UI components: borrowed & unmodified from Radix, borrowed & modified, and completely custom. Anything that’s in either of the last two will should be available in Storybook.

Components powering XB’s UI can now be browsed using Storybook.
Issue #3486888, image by Atul.

Grab bag

Week 29 was November 25–December 1, 2024.

PubDate

Tags