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.7] Check for empty document in the finding flyout (#841) #923

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

amsiglan
Copy link
Collaborator

Description

Backport 7837a99 from #841.

Check List

  • 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.

* check for empty document

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* added try catch to avoid page crash for invalid document

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* added cypress test

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32.70%. Comparing base (8163803) to head (ba69d57).

❗ Current head ba69d57 differs from pull request most recent head bc97934. Consider uploading reports for the commit bc97934 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##              2.7     #923      +/-   ##
==========================================
+ Coverage   32.67%   32.70%   +0.02%     
==========================================
  Files         135      135              
  Lines        4021     4024       +3     
  Branches      697      699       +2     
==========================================
+ Hits         1314     1316       +2     
- Misses       2567     2568       +1     
  Partials      140      140              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
@amsiglan amsiglan merged commit 6549ccf into opensearch-project:2.7 Jun 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant