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] [Fix] Inactive State on 'Discover' Tab in Side Navigation Menu #5606

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 478176a from #5432.

* Fix active background render error
* Update CHANGELOG.md
* Revise test suit
* Add isActive logic
* Remove redundant tests and add comment for future reference
* Update src/core/public/chrome/ui/header/nav_link.tsx
* Seperate special cases from logic && revise test
* Update CHANGELOG.md
* Update src/core/public/chrome/ui/header/nav_link.tsx

Co-authored-by: SuZhou-Joe <[email protected]>
Signed-off-by: Willie Hung <[email protected]>

---------

Signed-off-by: Willie Hung <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
Co-authored-by: SuZhou-Joe <[email protected]>
(cherry picked from commit 478176a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (fb180c2) 67.00% compared to head (30d675f) 67.00%.

Files Patch % Lines
src/core/public/chrome/ui/header/nav_link.tsx 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #5606      +/-   ##
==========================================
- Coverage   67.00%   67.00%   -0.01%     
==========================================
  Files        3289     3289              
  Lines       63304    63307       +3     
  Branches    10057    10058       +1     
==========================================
  Hits        42416    42416              
+ Misses      18453    18451       -2     
- Partials     2435     2440       +5     
Flag Coverage Δ
Linux_1 35.24% <66.66%> (+<0.01%) ⬆️
Linux_2 55.17% <66.66%> (+<0.01%) ⬆️
Linux_3 43.79% <66.66%> (-0.01%) ⬇️
Linux_4 35.47% <66.66%> (+<0.01%) ⬆️
Windows_1 35.27% <66.66%> (+<0.01%) ⬆️
Windows_2 55.14% <66.66%> (+<0.01%) ⬆️
Windows_3 43.81% <66.66%> (+<0.01%) ⬆️
Windows_4 35.47% <66.66%> (+<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.

@abbyhu2000 abbyhu2000 merged commit 953fb81 into 2.x Dec 13, 2023
88 of 90 checks passed
@github-actions github-actions bot deleted the backport/backport-5432-to-2.x branch December 13, 2023 23:20
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 bug Something isn't working repeat-contributor v2.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants