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

Fix: pass hide local cluster flag to data source menu in sample data page #8503

Conversation

SuZhou-Joe
Copy link
Member

@SuZhou-Joe SuZhou-Joe commented Oct 6, 2024

Description

This page forgot to pass the feature flag to the data source menu component.

Issues Resolved

Screenshot

Before fix

The local cluster option will still be present even if we set the hideLocalCluster as true
image

After fix

image

Testing the changes

Changelog

  • fix: pass hide local cluster flag to data source menu in sample data page

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

Signed-off-by: SuZhou-Joe <[email protected]>
@SuZhou-Joe SuZhou-Joe added backport 2.x look & feel Look and Feel Improvements labels Oct 6, 2024
Copy link

codecov bot commented Oct 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.95%. Comparing base (f4f251d) to head (4497b96).
Report is 96 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8503   +/-   ##
=======================================
  Coverage   60.95%   60.95%           
=======================================
  Files        3766     3766           
  Lines       89364    89364           
  Branches    13978    13978           
=======================================
  Hits        54468    54468           
  Misses      31498    31498           
  Partials     3398     3398           
Flag Coverage Δ
Linux_1 28.96% <ø> (ø)
Linux_2 56.30% <ø> (ø)
Linux_3 37.76% <ø> (?)
Linux_4 29.93% <ø> (ø)
Windows_1 28.98% <ø> (ø)
Windows_2 56.25% <ø> (ø)
Windows_3 37.76% <ø> (ø)
Windows_4 29.93% <ø> (ø)

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.

@SuZhou-Joe SuZhou-Joe merged commit 1f3077d into opensearch-project:main Oct 7, 2024
75 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 7, 2024
…page (#8503)

* feat: update

Signed-off-by: SuZhou-Joe <[email protected]>

* Changeset file for PR #8503 created/updated

---------

Signed-off-by: SuZhou-Joe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 1f3077d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Hailong-am pushed a commit that referenced this pull request Oct 7, 2024
…page (#8503) (#8508)

* feat: update



* Changeset file for PR #8503 created/updated

---------



(cherry picked from commit 1f3077d)

Signed-off-by: SuZhou-Joe <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants