Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WRP-14782: Fixed containers being copied instead of moved in agate/DropManager #742

Merged
merged 5 commits into from
Jun 1, 2023

Conversation

daniel-stoian-lgp
Copy link
Contributor

Enact-DCO-1.0-Signed-off-by: Daniel Stoian daniel.stoian@lgepartner.com

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • Documentation was verified or is not changed
  • UI test was passed or is not needed
  • Screenshot test was verified or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

When performing many item moves in a short time, sometimes one of the items got duplicated, and the other one dissapeared, instead of switching the items between them.

Resolution

While debugging the qa-drag-and-drop, I discovered that the dragOrigin node was the parent element of the dropManager and not one of the slot items. The solutin was to check , in touchEnd event handler, if the dragOrigin has a data-slot attribute.

Additional Considerations

Links

WRP-14782

Comments

@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (11b659f) 85.07% compared to head (00ca8f4) 85.07%.

❗ Current head 00ca8f4 differs from pull request most recent head fe925f3. Consider uploading reports for the commit fe925f3 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #742   +/-   ##
========================================
  Coverage    85.07%   85.07%           
========================================
  Files          120      120           
  Lines         4495     4495           
  Branches      1235     1235           
========================================
  Hits          3824     3824           
  Misses         524      524           
  Partials       147      147           
Impacted Files Coverage Δ
DropManager/DropManager.js 69.48% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@adrian-cocoara-lgp adrian-cocoara-lgp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

0x64 added 2 commits June 1, 2023 17:37
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek (sc.baek@lge.com)
@0x64 0x64 merged commit ed76d06 into develop Jun 1, 2023
@0x64 0x64 deleted the feature/WRP-14782 branch June 1, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants