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

[Vis-Builder] Fix Droppable Areas not highlighting while dragging a Field #7527

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

LDrago27
Copy link
Collaborator

@LDrago27 LDrago27 commented Jul 26, 2024

Description

This PR aims to enhance the user experience in Vis Builder by highlighting the droppable areas when a user starts dragging a field and fixing the bug which removed this feature.

Issues Resolved

Screenshot

HighilightVisbuilderbugFix.mp4

Testing the changes

  • Navigate to Vis Builder Page
  • Start Dragging a Field from the left side field panel
  • You should see all the droppable areas highlighted

Changelog

  • fix: Not highlighting Droppable Areas while dragging a field

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link

codecov bot commented Jul 26, 2024

Codecov Report

Attention: Patch coverage is 3.57143% with 27 lines in your changes missing coverage. Please review.

Project coverage is 63.80%. Comparing base (ae7cfa6) to head (3c8686c).

Files Patch % Lines
...r/public/application/components/data_tab/index.tsx 0.00% 14 Missing ⚠️
...public/application/components/data_tab/dropbox.tsx 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7527      +/-   ##
==========================================
- Coverage   63.82%   63.80%   -0.02%     
==========================================
  Files        3650     3651       +1     
  Lines       80966    80985      +19     
  Branches    12894    12901       +7     
==========================================
+ Hits        51673    51674       +1     
- Misses      26126    26144      +18     
  Partials     3167     3167              
Flag Coverage Δ
Linux_1 30.03% <3.57%> (-0.01%) ⬇️
Linux_2 55.85% <ø> (ø)
Linux_3 40.41% <ø> (+<0.01%) ⬆️
Linux_4 31.28% <ø> (ø)
Windows_1 30.04% <3.57%> (-0.01%) ⬇️
Windows_2 55.81% <ø> (ø)
Windows_3 40.41% <ø> (ø)
Windows_4 31.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ananzh ananzh requested a review from joshuali925 as a code owner July 29, 2024 23:24
@ananzh
Copy link
Member

ananzh commented Jul 30, 2024

Move to 2.17 for now due to test fail.

ashwin-pc
ashwin-pc previously approved these changes Aug 12, 2024
Copy link
Member

@ashwin-pc ashwin-pc left a comment

Choose a reason for hiding this comment

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

Nice!

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
ananzh
ananzh previously approved these changes Aug 16, 2024
@ashwin-pc ashwin-pc merged commit 901ac51 into opensearch-project:main Aug 21, 2024
65 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 21, 2024
…ield (#7527)

* [Vis-Builder] Highlight Droppable Areas while dragging a Field

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>

* Changeset file for PR #7527 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 901ac51)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ananzh pushed a commit that referenced this pull request Aug 21, 2024
…ield (#7527) (#7780)

* [Vis-Builder] Highlight Droppable Areas while dragging a Field



* Changeset file for PR #7527 created/updated

---------



(cherry picked from commit 901ac51)

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants