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

[workspace] Fix : should not show summary if there is no response #9480

Merged

Conversation

Qxisylolo
Copy link
Contributor

@Qxisylolo Qxisylolo commented Mar 4, 2025

Description

This PR fixes a bug where the summary is displayed even when there is no response.

Issues Resolved

Screenshot

2025-03-04.10.56.48.-.Compressed.with.FlexClip.mp4

Changelog

  • fix: should not show summary if there is no response

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: Qxisylolo <qianxisy@amazon.com>
Copy link

codecov bot commented Mar 4, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 61.74%. Comparing base (5f9e470) to head (14a65bf).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...c/query_assist/components/query_assist_summary.tsx 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9480      +/-   ##
==========================================
- Coverage   61.74%   61.74%   -0.01%     
==========================================
  Files        3816     3816              
  Lines       91886    91887       +1     
  Branches    14564    14565       +1     
==========================================
  Hits        56734    56734              
  Misses      31494    31494              
- Partials     3658     3659       +1     
Flag Coverage Δ
Linux_1 28.98% <ø> (ø)
Linux_2 56.41% <ø> (ø)
Linux_3 39.26% <ø> (ø)
Linux_4 28.87% <50.00%> (-0.01%) ⬇️
Windows_1 29.00% <ø> (ø)
Windows_2 56.36% <ø> (ø)
Windows_3 39.27% <ø> (ø)
Windows_4 28.87% <50.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.

Signed-off-by: Qxisylolo <qianxisy@amazon.com>
@Hailong-am Hailong-am merged commit 1d74fd1 into opensearch-project:main Mar 4, 2025
73 of 75 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 4, 2025
)

* shouldnot show summary if no response

Signed-off-by: Qxisylolo <qianxisy@amazon.com>

* Changeset file for PR #9480 created/updated

* combination

Signed-off-by: Qxisylolo <qianxisy@amazon.com>

---------

Signed-off-by: Qxisylolo <qianxisy@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 1d74fd1)
Signed-off-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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants