Overview

We can make the page hierarchy (or layers) feel more robust by adjusting the styles in a way where elements are not moving around between state changes. We should consider both focus / active styles, as well as drag and drop.

Proposed resolution

The focus / active styles most probably are just CSS changes and doesn't necessarily mean we need to change the design.

The drag and drop changes will require minor changes to the design. We can model after #3470973: Retain the placement of components within the preview when inserting a component.

User interface changes

Command icon 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

lauriii created an issue. See original summary.

wim leers’s picture

Issue tags: +CSS

We can make the page hierarchy (or layers) feel more robust by adjusting the styles in a way where elements are not moving around between state changes. We should consider both focus / active styles, as well as drag and drop.

Is this enough information for you to act on this, @balintbrews or @jessebaker?

gauravvvv’s picture

Assigned: Unassigned » gauravvvv

gauravvvv’s picture

Status: Active » Needs review
gauravvvv’s picture

Assigned: gauravvvv » Unassigned
lauriii’s picture

Issue summary: View changes
Status: Needs review » Needs work
StatusFileSize
new52.39 KB

Nice one @gauravvvv! I was thinking that we probably should follow the design from the preview canvas drag and drop. This means using the blue border to highlight where an element is going to be moved. Here's an example of how this could look like in the page hierarchy:

hooroomoo’s picture

Status: Needs work » Closed (duplicate)

Closing this issue as a duplicate because #7 makes sense to be addressed as a part of #3470594: Refine dragging behavior and design in Layers menu so the layers dragging can be holistically tested and reviewed.