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] Use currently selected data source when no source attached to saved query #8895

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport a8d383b from #8883.

…uery (#8883)

Opening a saved query that has no dataset stored with it, resets the currently selected dataset in the picker which breaks the query experience since the user will need to reselect the dataset which will then reset the query.

* use currently selected data source when no source attached to saved query

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* Changeset file for PR #8883 created/updated

* refactored fix

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* revert license change

Signed-off-by: Amardeepsingh Siglani <[email protected]>

---------

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit a8d383b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 60.99%. Comparing base (f24afaa) to head (6cc8890).

Files with missing lines Patch % Lines
...ui/saved_query_flyouts/open_saved_query_flyout.tsx 0.00% 1 Missing ⚠️
...c/plugins/data/public/ui/search_bar/search_bar.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #8895   +/-   ##
=======================================
  Coverage   60.98%   60.99%           
=======================================
  Files        3799     3799           
  Lines       90859    90849   -10     
  Branches    14306    14300    -6     
=======================================
+ Hits        55413    55415    +2     
+ Misses      31931    31920   -11     
+ Partials     3515     3514    -1     
Flag Coverage Δ
Linux_1 29.03% <0.00%> (ø)
Linux_2 56.53% <ø> (ø)
Linux_3 37.89% <33.33%> (+0.01%) ⬆️
Linux_4 30.00% <0.00%> (ø)
Windows_1 29.05% <0.00%> (ø)
Windows_2 56.48% <ø> (ø)
Windows_3 37.89% <33.33%> (+<0.01%) ⬆️
Windows_4 30.00% <0.00%> (ø)

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.


🚨 Try these New Features:

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 discover for discover reinvent discover-next failed changeset valued-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants