PromucFlow_constructor/app/client/src/layoutSystems/common
Ashok Kumar M d727ecf7c5
chore: register offset values as per parent drop target in Anvil (#28757)
> Pull Request Template
>
> Use this template to quickly create a well written pull request.
Delete all quotes before creating the pull request.
>
## Description
In this PR we are making changes to layout elements position observer to
capture offset values of drag parents(layouts that can have widgets)
relative to their own immediate dragparents.

Why?
once we have these offset values of each droptarget wrt to main canvas
droptarget we can clearly detect offsetvalues of widgets, since each
widget's positions that are captured already are wrt to main canvas,
with the calculated offset from the above process we can calculated
widget positions relative to their immediate parent as well.

#### PR fixes following issue(s)
Fixes #28561
Fixes #28585
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-11-15 18:02:12 +05:30
..
canvasArenas fix: Anvil fixes and enhancements post R0 (#28711) 2023-11-15 18:01:54 +05:30
canvasViewer chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
draggable feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
dropTarget feat: add events for hover on building block and datasource connect click (#28851) 2023-11-15 06:45:24 +05:30
DSLConversions chore: Update DSL for Anvil (#27966) 2023-10-19 20:50:17 +05:30
mainContainerResizer fix: Anvil fixes and enhancements post R0 (#28711) 2023-11-15 18:01:54 +05:30
modalOverlay chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
resizer feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
snipeable chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
utils chore: register offset values as per parent drop target in Anvil (#28757) 2023-11-15 18:02:12 +05:30
widgetComponent chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgetName feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
WidgetNamesCanvas chore: add mousemove listener to konva and bug fixes. (#28381) 2023-10-27 11:54:26 +05:30
selectors.ts fix: Fix widget name canvas issues (#28314) 2023-10-25 11:10:43 +05:30
types.ts chore: register offset values as per parent drop target in Anvil (#28757) 2023-11-15 18:02:12 +05:30
useLayoutSystemFeatures.ts fix: Fix widget name canvas issues (#28314) 2023-10-25 11:10:43 +05:30