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

(query assist) show error toasts if summary is disabled #1480

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

joshuali925
Copy link
Member

Description

Currently we use summarization to explain PPL errors, but it won't be available if summarization feature is disabled. This PR enables sending error to toast message in that case.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.39%. Comparing base (e9690a6) to head (786ac1d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1480      +/-   ##
==========================================
+ Coverage   56.38%   56.39%   +0.01%     
==========================================
  Files         322      322              
  Lines       11766    11769       +3     
  Branches     3059     3061       +2     
==========================================
+ Hits         6634     6637       +3     
  Misses       5078     5078              
  Partials       54       54              
Flag Coverage Δ
dashboards-observability 56.39% <100.00%> (+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.

Copy link
Collaborator

@mengweieric mengweieric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@joshuali925 joshuali925 merged commit 7f363c7 into opensearch-project:main Mar 5, 2024
15 of 22 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 5, 2024
Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 7f363c7)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshuali925 added a commit to joshuali925/dashboards-observability that referenced this pull request Mar 5, 2024
joshuali925 pushed a commit that referenced this pull request Mar 5, 2024
(cherry picked from commit 7f363c7)

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>
RyanL1997 pushed a commit to RyanL1997/dashboards-observability that referenced this pull request Apr 18, 2024
…ensearch-project#1484)

Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit 8dab6a3ef00c7127f6713701187abac1addfc68a)

Co-authored-by: Derek Ho <[email protected]>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…) (opensearch-project#1485)

(cherry picked from commit 7f363c7)

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>
(cherry picked from commit f1574be)
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