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

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 8691010 from #8335.

* Add useObservableValue hook

Signed-off-by: Lin Wang <[email protected]>

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

Signed-off-by: Lin Wang <[email protected]>

* Changeset file for PR #8335 created/updated

* Import useObservable from lib folder

Signed-off-by: Lin Wang <[email protected]>

* Change to useObservable for non function observable object

Signed-off-by: Lin Wang <[email protected]>

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

Co-authored-by: Yulong Ruan <[email protected]>
Signed-off-by: Lin Wang <[email protected]>

---------

Signed-off-by: Lin Wang <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Yulong Ruan <[email protected]>
(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).
Report is 16 commits behind head on 2.x.

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

@ruanyl ruanyl merged commit 7c011ad into 2.x Sep 30, 2024
67 of 69 checks passed
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.

2 participants