Skip to content

Conversation

lunalzm
Copy link
Contributor

@lunalzm lunalzm commented Sep 30, 2025

Description

This PR enhances visualization by allowing users to customize the legend name.

Screenshot

Single legend

image

Multiple legends

image

Changelog

  • feat: Allow customizing legend name

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 lunalzm/OpenSearch-Dashboards that referenced this pull request Sep 30, 2025
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

❌ Patch coverage is 85.18519% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.34%. Comparing base (6d8e2ec) to head (682df42).
⚠️ Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
...nents/visualizations/style_panel/legend/legend.tsx 75.00% 0 Missing and 2 partials ⚠️
...ions/style_panel/legend/legend_options_wrapper.tsx 88.88% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10604   +/-   ##
=======================================
  Coverage   60.34%   60.34%           
=======================================
  Files        4462     4463    +1     
  Lines      119480   119475    -5     
  Branches    19746    19741    -5     
=======================================
- Hits        72095    72094    -1     
+ Misses      42382    42381    -1     
+ Partials     5003     5000    -3     
Flag Coverage Δ
Linux_1 26.58% <ø> (ø)
Linux_2 38.82% <ø> (ø)
Linux_3 38.89% <ø> (ø)
Linux_4 33.00% <85.18%> (+<0.01%) ⬆️
Windows_1 26.60% <ø> (ø)
Windows_2 38.79% <ø> (ø)
Windows_3 38.90% <ø> (+<0.01%) ⬆️
Windows_4 33.00% <85.18%> (+<0.01%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

lunalzm pushed a commit to lunalzm/OpenSearch-Dashboards that referenced this pull request Oct 14, 2025
@ruanyl ruanyl merged commit bc35949 into opensearch-project:main Oct 17, 2025
155 of 160 checks passed
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.

3 participants