| Comment | File | Size | Author |
|---|---|---|---|
| #23 | Screen Recording 2024-07-11 at 5.42.53 PM.gif | 1.78 MB | hooroomoo |
Issue fork experience_builder-3458617
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 #3
hooroomooComment #4
finnsky commentedI've tested it. Works fine. I see other js errors in console. But seems unrelated.
Comment #6
lauriiiThis isn't the exact interaction I was thinking for the sidebar. The interaction pattern I was thinking was that we close the component menu after component has been added. This is what Figma and most page builders are doing today. This is because the most likely task after dragging the component in would be for the user to fill in content, and to adjust the styles.
Comment #7
jessebaker commentedI don't agree with this. While I don't think we can know this for sure either way, I want to suggest an alternative user flow that would be more logical to me if I was laying out a page. I think it's very possible (likely even) that both use cases are valid and very different depending on the persona using the page layout.
I think it's very likely that someone will want to drag on multiple components/sections one after the other to "block out" their layout before going in and making specific tweaks to the content and design. Picture rapidly dropping on a Hero component followed by some sections and then putting some cards into those sections in quick succession to get an idea of how a page will be structured before actually writing the specific copy into those components. Adding copy may even be someone else's job - e.g a designer doing the layout with lorem ipsum text, later being updated by a copywriter!
Comment #8
wim leersAny issue/MR changing the UI must include at least one screenshot (preferably screencast/GIF) to make it easier to scan and follow along for those interested but not writing XB code 🙏
Comment #9
wim leersThis (#6) sounds better than closing a menu immediately after dragging in a single component (#6) … so @lauriii, why aren't you worried about annoying the user with this? 🤔
Comment #10
lauriiiDiscussed this with @Renee Lund, the UX designer from Acquia UX working on this.
We haven't done research with users on this, so this is based on our hypothesis which is informed by competitive analysis. We would be doing UX testing later which may result in us needing to revisit decisions like this.
There are two possible user flows:
Flow 1:
Flow 2:
Our hypothesis is that the XB users would be following the flow 1 most of the time, and the UI is currently designed for that. This also seems to be the pattern that majority of different platforms are taking. If we find out that flow 2 is the more common scenario, we'd have to design for that and that may have implications to the design outside of this issue.
Comment #11
wim leersComment #12
hooroomooComment #13
hooroomooComment #14
hooroomooComment #15
hooroomooComment #16
hooroomooComment #17
hooroomooComment #18
hooroomooComment #19
hooroomooComment #20
wim leersAha — this closes only the deepest level, the menu that lists and remains open. I thought #10 meant the entire thing should be closed? 🤔
Asking @lauriii to confirm.
Comment #21
lauriiiYes, the whole menu should close on drag.
Comment #22
wim leersPer #21.
Comment #23
hooroomooComment #24
hooroomooComment #25
wim leersLooking good! Did my best to review this, but I think it'd be good for @jessebaker to sign off on this. (He's already awake, Ben is not yet.)
Comment #27
jessebaker commentedComment #28
wim leersComment #29
larowlanLeft some comments on the MR
Comment #30
hooroomooI can address those as part of the current MR i am working on #3460952: Implement add button for top level item (section) since that involves some primary menu-related refactoring.
Comment #31
wim leers@hooroomoo Can you please update that issue's summary then and once you've done that remove @larowlan's tag from this issue? 🙏
Comment #32
wim leersComment #33
hooroomooDone
Comment #34
wim leersThank you! :)
Comment #35
wim leers