-
Notifications
You must be signed in to change notification settings - Fork 916
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
Add Drag & Drop Across Axis Functionality to Vis Builder #7107
Add Drag & Drop Across Axis Functionality to Vis Builder #7107
Conversation
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7107 +/- ##
==========================================
- Coverage 67.63% 67.54% -0.09%
==========================================
Files 3471 3477 +6
Lines 68640 68757 +117
Branches 11174 11204 +30
==========================================
+ Hits 46423 46443 +20
- Misses 19511 19608 +97
Partials 2706 2706
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6e1483e
to
56e4202
Compare
4b31db9
to
bd08a03
Compare
a602190
to
7e41206
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice PR. I just had a few minor comments. Let em know once you have responded or addressed them and this change should be good to go
src/plugins/vis_builder/public/application/components/data_tab/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/vis_builder/public/application/components/data_tab/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/vis_builder/public/application/components/data_tab/index.tsx
Show resolved
Hide resolved
src/plugins/vis_builder/public/application/components/data_tab/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/vis_builder/public/application/components/data_tab/utils/get_valid_aggregations.tsx
Outdated
Show resolved
Hide resolved
src/plugins/vis_builder/public/application/components/data_tab/use/use_dropbox.tsx
Show resolved
Hide resolved
src/plugins/vis_builder/public/application/components/data_tab/use/use_dropbox.tsx
Show resolved
Hide resolved
34ab28f
to
5b7a9e3
Compare
c967677
to
868f5e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for the changes. Wont block on it, but the newly added functions could use tests. I'll be happy to reapprove it if you can let me know once you have added the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add tests for this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add tests for this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add tests for this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add tests for this function?
86ce1a5
Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
86ce1a5
to
2236da3
Compare
* Add Drag Across Axis Functionality to Vis Builder Signed-off-by: Suchit Sahoo <suchsah@amazon.com> * Changeset file for PR #7107 created/updated --------- Signed-off-by: Suchit Sahoo <suchsah@amazon.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 27669cf) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add Drag Across Axis Functionality to Vis Builder * Changeset file for PR #7107 created/updated --------- (cherry picked from commit 27669cf) Signed-off-by: Suchit Sahoo <suchsah@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
* Add Drag Across Axis Functionality to Vis Builder * Changeset file for PR #7107 created/updated --------- (cherry picked from commit 27669cf) Signed-off-by: Suchit Sahoo <suchsah@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit b1e5237) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…) (#7416) * Add Drag Across Axis Functionality to Vis Builder * Changeset file for PR #7107 created/updated --------- (cherry picked from commit 27669cf) (cherry picked from commit b1e5237) Signed-off-by: Suchit Sahoo <suchsah@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Anan Zhuang <ananzh@amazon.com>
Description
This change aims to enhance the drag and drop functionality present within Vis-Builder. The enhancements are
To support the Drag and Drop functionality the custom Drag and Drop containers were converted to Draggable and Droppable Components (part of OUI). Besides the OUIAccordion didn't support Dragging of the elements present within the accordion hence instead of using it a custom version of Accordion was used.
Issues Resolved
#7015
Screenshot
EditedEnhancementVisBUilder.mp4
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration