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

Add Scripted Field Support in Vis Builder #6974

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

LDrago27
Copy link
Collaborator

@LDrago27 LDrago27 commented Jun 7, 2024

Description

Add Scripted Field Support in Vis Builder.

Screenshot

Video.mp4

Testing the changes

  1. Create an Index pattern with scripted fields
  2. Navigate to Vis Builder and verify if the scripted field is available in the left side panel

Changelog

  • feat: Add Scripted Field Support in Vis Builder

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

opensearch-changeset-bot bot added a commit to LDrago27/OpenSearch-Dashboards that referenced this pull request Jun 7, 2024
Copy link

codecov bot commented Jun 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.44%. Comparing base (fbb8973) to head (18e0cfc).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6974      +/-   ##
==========================================
+ Coverage   67.43%   67.44%   +0.01%     
==========================================
  Files        3444     3442       -2     
  Lines       67819    67816       -3     
  Branches    11034    11027       -7     
==========================================
+ Hits        45733    45740       +7     
+ Misses      19420    19409      -11     
- Partials     2666     2667       +1     
Flag Coverage Δ
Linux_1 33.08% <100.00%> (-0.02%) ⬇️
Linux_2 55.11% <ø> (+0.04%) ⬆️
Linux_3 45.20% <ø> (-0.02%) ⬇️
Linux_4 34.86% <ø> (-0.02%) ⬇️
Windows_1 33.10% <100.00%> (-0.02%) ⬇️
Windows_2 55.06% <ø> (+0.04%) ⬆️
Windows_3 45.21% <ø> (-0.01%) ⬇️
Windows_4 34.86% <ø> (-0.02%) ⬇️

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.

Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
@ashwin-pc
Copy link
Member

@LDrago27 Can you add a test for this?

@LDrago27
Copy link
Collaborator Author

LDrago27 commented Jun 11, 2024

@LDrago27 Can you add a test for this?

@ashwin-pc I have added unit tests to validate this change.

@ashwin-pc ashwin-pc merged commit e74ed2c into opensearch-project:main Jun 12, 2024
71 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 12, 2024
Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
(cherry picked from commit e74ed2c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
abbyhu2000 pushed a commit that referenced this pull request Jul 22, 2024
(cherry picked from commit e74ed2c)

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>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 23, 2024
(cherry picked from commit e74ed2c)

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>
(cherry picked from commit a0eea7d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
LDrago27 pushed a commit that referenced this pull request Jul 24, 2024
(cherry picked from commit e74ed2c)




(cherry picked from commit a0eea7d)

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

Successfully merging this pull request may close these issues.

5 participants