Overview
Currently, when component is inserted to the canvas, the selection remains on the component that was previously selected. However, when a new component is inserted, the usual next step in the user flow is to edit that component.
Proposed resolution
Mark component as selected after it has been inserted to the canvas.
User interface changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screen Recording 2024-11-06 at 19.18.12.mov | 3.07 MB | el7cosmos |
Issue fork experience_builder-3485383
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 #5
el7cosmosI had an attempt at this. Components inserted via the sidebar will then be selected, although the component setting panel will be opened before the component is fully rendered.
Comment #6
lauriiiTested this manually and the behavior seems fine. I agree it would be nice to make the interactions a bit smoother but I wonder if that should be left to a follow-up issue?
Maybe we should add some test coverage for this change?
Comment #7
wim leersComment #10
hooroomooCould you resolve the merge conflicts after updating HEAD with 0.x since #3486120: Tighten up TS definitions around LayoutNodes/RootNodes etc is in 0.x now?
Comment #11
hooroomoo#3484140: Overlay / annotations get misplaced occasionally Seeing this issue sometimes after inserting a new component/section using the Add section/add component button. Don't think it's in scope for this issue but just putting it on people's radar again.
Comment #12
hooroomooComment #13
hooroomooComment #15
hooroomoo