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

[Backport 2.x] [Multiple Datasource] Enhanced data source selector with default datasource shows as first choice #6339

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 557fbcf from #6293.

…source shows as first choice (#6293)

* edit datasource selector to show dafault datasource and return default to customer

Signed-off-by: Yuanqi(Ella) Zhu <zhyuanqi@amazon.com>

* Update src/plugins/data_source_management/public/components/data_source_selector/data_source_selector.tsx

Co-authored-by: Lu Yu <nluyu@amazon.com>
Signed-off-by: Yuanqi(Ella) Zhu <53279298+zhyuanqi@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lu Yu <nluyu@amazon.com>
Signed-off-by: Yuanqi(Ella) Zhu <53279298+zhyuanqi@users.noreply.github.com>

* fix syntax

Signed-off-by: Yuanqi(Ella) Zhu <zhyuanqi@amazon.com>

---------

Signed-off-by: Yuanqi(Ella) Zhu <zhyuanqi@amazon.com>
Signed-off-by: Yuanqi(Ella) Zhu <53279298+zhyuanqi@users.noreply.github.com>
Co-authored-by: Lu Yu <nluyu@amazon.com>
(cherry picked from commit 557fbcf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Attention: Patch coverage is 87.87879% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 67.34%. Comparing base (bf78064) to head (7b7ef09).

Files Patch % Lines
...ents/data_source_selector/data_source_selector.tsx 81.81% 2 Missing ⚠️
.../data_source_management/public/components/utils.ts 88.88% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #6339   +/-   ##
=======================================
  Coverage   67.33%   67.34%           
=======================================
  Files        3344     3344           
  Lines       64837    64867   +30     
  Branches    10386    10395    +9     
=======================================
+ Hits        43660    43686   +26     
- Misses      18651    18653    +2     
- Partials     2526     2528    +2     
Flag Coverage Δ
Linux_1 31.30% <ø> (ø)
Linux_2 55.39% <ø> (ø)
Linux_3 45.09% <87.87%> (+0.03%) ⬆️
Linux_4 35.21% <0.00%> (-0.03%) ⬇️
Windows_1 31.33% <ø> (ø)
Windows_2 55.35% <ø> (ø)
Windows_3 45.09% <87.87%> (+0.03%) ⬆️
Windows_4 35.21% <0.00%> (-0.03%) ⬇️

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.

@BionIT BionIT merged commit f838b25 into 2.x Apr 4, 2024
91 of 92 checks passed
@github-actions github-actions bot deleted the backport/backport-6293-to-2.x branch April 4, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports multiple datasource multiple datasource project repeat-contributor v2.14.0
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants