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 HeaderControl not rendered if not mount in initial rendering #8366

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 8691010 from #8335.

* Add useObservableValue hook

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Fix header control not render when not mount in initial rendering

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Changeset file for PR #8335 created/updated

* Import useObservable from lib folder

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Change to useObservable for non function observable object

Signed-off-by: Lin Wang <wonglam@amazon.com>

* Update src/core/public/utils/use_observable_value.ts

Co-authored-by: Yulong Ruan <ruanyu1@gmail.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>

---------

Signed-off-by: Lin Wang <wonglam@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Yulong Ruan <ruanyu1@gmail.com>
(cherry picked from commit 8691010)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.06%. Comparing base (c00862a) to head (61d6c80).

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #8366      +/-   ##
==========================================
- Coverage   61.06%   61.06%   -0.01%     
==========================================
  Files        3742     3743       +1     
  Lines       88843    88848       +5     
  Branches    13847    13848       +1     
==========================================
+ Hits        54253    54256       +3     
- Misses      31239    31240       +1     
- Partials     3351     3352       +1     
Flag Coverage Δ
Linux_1 28.86% <3.70%> (-0.01%) ⬇️
Linux_2 56.46% <100.00%> (+<0.01%) ⬆️
Linux_3 ?
Linux_4 30.06% <3.70%> (-0.01%) ⬇️
Windows_1 28.87% <3.70%> (-0.01%) ⬇️
Windows_2 56.42% <100.00%> (+<0.01%) ⬆️
Windows_3 37.81% <3.70%> (-0.01%) ⬇️
Windows_4 30.06% <3.70%> (-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-star-contributor autocut Skip the changelog verification check on backports failed changeset v2.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant