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 errors in conditions for activating vizAugmenter #5213

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

AMoo-Miki
Copy link
Collaborator

@AMoo-Miki AMoo-Miki commented Oct 4, 2023

Description

isEligibleForVisLayers incorrectly made assumptions about types of parameters it was provided; this change adds guards against them.

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #5213 (180cf69) into main (c70125f) will decrease coverage by 0.01%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main    #5213      +/-   ##
==========================================
- Coverage   66.76%   66.76%   -0.01%     
==========================================
  Files        3278     3278              
  Lines       62999    63008       +9     
  Branches    10031    10034       +3     
==========================================
+ Hits        42059    42065       +6     
- Misses      18473    18474       +1     
- Partials     2467     2469       +2     
Flag Coverage Δ
Linux_1 35.32% <80.00%> (+<0.01%) ⬆️
Linux_2 55.24% <ø> (ø)
Linux_3 43.74% <ø> (ø)
Linux_4 35.42% <ø> (ø)
Windows_1 35.34% <80.00%> (+<0.01%) ⬆️
Windows_2 55.20% <ø> (ø)
Windows_3 43.75% <ø> (ø)
Windows_4 35.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/plugins/vis_augmenter/public/utils/utils.ts 92.53% <80.00%> (-4.02%) ⬇️

@AMoo-Miki AMoo-Miki merged commit 7207635 into opensearch-project:main Oct 4, 2023
62 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Miki <[email protected]>
(cherry picked from commit 7207635)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
AMoo-Miki pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Miki <[email protected]>
(cherry picked from commit 7207635)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
willie-hung pushed a commit to willie-hung/OpenSearch-Dashboards that referenced this pull request Oct 5, 2023
SuZhou-Joe pushed a commit to SuZhou-Joe/OpenSearch-Dashboards that referenced this pull request Oct 7, 2023
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