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(queryAssist): allow dataset with DATA_SOURCE type #7890

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

joshuali925
Copy link
Member

@joshuali925 joshuali925 commented Aug 28, 2024

Description

This allows query assist to show up on indices from supported datasource and prevents multiple calls to get available languages

Issues Resolved

Screenshot

Testing the changes

Changelog

  • skip

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 Aug 28, 2024

Codecov Report

Attention: Patch coverage is 9.09091% with 10 lines in your changes missing coverage. Please review.

Project coverage is 64.21%. Comparing base (9bc2433) to head (da68f08).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...nts/public/query_assist/utils/create_extension.tsx 9.09% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7890      +/-   ##
==========================================
- Coverage   64.21%   64.21%   -0.01%     
==========================================
  Files        3673     3673              
  Lines       81177    81185       +8     
  Branches    12941    12943       +2     
==========================================
+ Hits        52129    52130       +1     
- Misses      25840    25847       +7     
  Partials     3208     3208              
Flag Coverage Δ
Linux_1 30.20% <ø> (ø)
Linux_2 56.08% <ø> (ø)
Linux_3 40.55% <ø> (ø)
Linux_4 31.31% <9.09%> (-0.01%) ⬇️
Windows_1 30.21% <ø> (ø)
Windows_2 56.03% <ø> (ø)
Windows_3 40.55% <ø> (ø)
Windows_4 31.31% <9.09%> (-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.

@ashwin-pc ashwin-pc merged commit 8033aa4 into opensearch-project:main Aug 28, 2024
69 of 70 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 28, 2024
* fix(queryAssist): allow dataset with DATA_SOURCE type

Signed-off-by: Joshua Li <[email protected]>

* prevent multiple calls to get available languages

Signed-off-by: Joshua Li <[email protected]>

---------

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 8033aa4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshuali925 pushed a commit that referenced this pull request Aug 28, 2024
* fix(queryAssist): allow dataset with DATA_SOURCE type
* prevent multiple calls to get available languages

---------

(cherry picked from commit 8033aa4)

Signed-off-by: Joshua Li <[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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x seasoned-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.17.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants