Overview

User should be able to duplicate the nodes using keyboard commands CTRL + D.

Proposed resolution

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

utkarsh_33 created an issue. See original summary.

utkarsh_33’s picture

Issue summary: View changes

cosmicdreams made their first commit to this issue’s fork.

cosmicdreams’s picture

I've added the code change I was talking about in the Gitlab discussion. I wonder, does pressing 'Command + D' actually duplicate the element?

The next test fails to measure that there are two elements present where there was once one. It times out. Is it stalling because it's trying to look for the duplicate but it's not there yet?

cosmicdreams’s picture

My theory was that the duplication test needed the same steps / structure as the delete test. But waiting for the preview to be ready did not fix the test.

I'm left wondering if the component duplication logic is what is not working.

utkarsh_33’s picture

I'm left wondering if the component duplication logic is what is not working.

I tested this and this works when we try to duplicate a component using the contextual menu dropdown.
I think the problem is with the key Events, which seems not to be working but i am unsure why is that happening as i can duplicate the components using the keyboard shortcuts on my local.I'll try to dig more into this.Thanks!

utkarsh_33’s picture

Assigned: utkarsh_33 » jessebaker

Assigning it to @jessebaker for suggestions.

utkarsh_33’s picture

Assigned: jessebaker » utkarsh_33

Assigning it to me because i think i got the solution.

utkarsh_33’s picture

Assigned: utkarsh_33 » Unassigned
Status: Active » Needs review

Just a small question that needs clarification, so marking it NR.

bnjmnm’s picture

Status: Needs review » Needs work

Added a suggestion on how to avoid wait()

utkarsh_33’s picture

I added a better way of asserting that the hero component is added to correct place.

utkarsh_33’s picture

Status: Needs work » Needs review
bnjmnm’s picture

Status: Needs review » Needs work

See MR

parthbcharya’s picture

Assigned: Unassigned » parthbcharya

parthbcharya’s picture

Status: Needs work » Needs review
wim leers’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

No longer applies 🙈

parthbcharya’s picture

Assigned: parthbcharya » Unassigned
Status: Needs work » Active

drupalbabaji made their first commit to this issue’s fork.

drupalbabaji’s picture

Issue tags: -Needs reroll +Needs review
deepti_naik’s picture

Status: Active » Needs review
omkar-pd’s picture

Status: Needs review » Needs work

I see 0 changes in PR.

drupalbabaji’s picture

drupalbabaji’s picture

Status: Needs work » Needs review
jessebaker’s picture

Status: Needs review » Needs work
Issue tags: -Needs review

There are no changes to review in the MR, all previous changes have been reverted so something has gone awry here I think. Can you take another look @drupalbabaji

drupalbabaji’s picture

@Jessebanker as per comment https://www.drupal.org/project/experience_builder/issues/3477957#comment... . It says "No longer applies" and need a re-roll. I think we can close the open MR after confirmation with Wim leers.

drupalbabaji’s picture

Status: Needs work » Needs review

Project: Experience Builder » Drupal Canvas
Version: 0.x-dev » 1.x-dev

Experience Builder has been renamed to Drupal Canvas in preparation for its beta release. You can now track issues on the new project page.