Skip to content

Conversation

@rfding
Copy link
Collaborator

@rfding rfding commented Oct 9, 2025

  • Introduces 3 new hooks: useExternalDragHandler, useExternalDragInteraction, useRegionDecoratorClasses
  • Adds support to regions so that css classes are added when something is dragged over them
  • These changes are meant to support dragging components in from the palette in Page Designer

@rfding rfding force-pushed the feat/palette-drag-and-drop branch from 0085657 to 0c6e72c Compare October 16, 2025 21:50
@rfding rfding force-pushed the feat/palette-drag-and-drop branch from 0c6e72c to dc803ad Compare October 17, 2025 16:49
@rfding rfding force-pushed the feat/palette-drag-and-drop branch from dc803ad to 8d38f68 Compare October 17, 2025 20:25
@rfding rfding force-pushed the feat/palette-drag-and-drop branch from 8d38f68 to 3ddf60b Compare October 20, 2025 13:57
@rfding rfding marked this pull request as ready for review October 20, 2025 18:45
@rfding rfding requested a review from a team as a code owner October 20, 2025 18:45
@mjuraschik mjuraschik merged commit 5d2635e into SalesforceCommerceCloud:feature/design-layer-integration Oct 23, 2025
4 checks passed
steelsojka added a commit to steelsojka/commerce-sdk-isomorphic that referenced this pull request Oct 27, 2025
…on' into feature/drag-and-drop-move

* upstream/feature/design-layer-integration:
  feat: drag and drop from palette @W-19284238 (SalesforceCommerceCloud#226)
  bump size
steelsojka added a commit to steelsojka/commerce-sdk-isomorphic that referenced this pull request Oct 27, 2025
…on' into feature/drag-and-drop-move

* upstream/feature/design-layer-integration:
  feat: drag and drop from palette @W-19284238 (SalesforceCommerceCloud#226)
  bump size
steelsojka added a commit that referenced this pull request Oct 28, 2025
feat(design): move design components out of sdk

feat(design): add messaging api

fix types

upgrade typescript to support esm modules

cleanup messenger on disconnect

make scrolling isomorphic

feat(design): add hover bounds events (#220)

feat: refine connection logic for design layer

feat(pd): add design context and wrapper @W-19432252 (#222)

* feat(pd): add design context and wrapper

feat(design): add more interactions and cleanup (#223)

feat: drag and drop from palette @W-19284238 (#226)

* feature(design): add drag and drop support for regions

* rework drag and drop

* add local dragging logic

* add drop target styles

* fix styles

* fix decorator render order

* feat: add unit test + build fixes

* fix: styling

* fix: nodeToTargetMap being empty + update tests

* fix: add back region green border

* fix: test + bad css merge

* fix: region decorator tests

---------

Co-authored-by: Steven Sojka <[email protected]>

Feature/drag and drop move (#237)

* feature(design): add drag and drop support for regions

* rework drag and drop

* add local dragging logic

* add drop target styles

* fix styles

* fix decorator render order

* polish move

* get parent id from context

update styles and add design tests
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