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.13] Updating usePolling to cleanup after unmount #1601

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport a03bf43 from #1598.

* clear interval when component unmounts

Signed-off-by: Sean Li <[email protected]>

* updating empty state

Signed-off-by: Sean Li <[email protected]>

* adding back button on empty page, fixing empty accelerations length checker in associated objects tab

Signed-off-by: Sean Li <[email protected]>

---------

Signed-off-by: Sean Li <[email protected]>
(cherry picked from commit a03bf43)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@ps48 ps48 added the bug Something isn't working label Mar 20, 2024
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 58.06%. Comparing base (1fe1926) to head (eac502c).

Files Patch % Lines
...nage/associated_objects/associated_objects_tab.tsx 80.00% 2 Missing ⚠️
public/components/hooks/use_polling.ts 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             2.13    #1601      +/-   ##
==========================================
+ Coverage   58.05%   58.06%   +0.01%     
==========================================
  Files         365      365              
  Lines       13621    13632      +11     
  Branches     3587     3593       +6     
==========================================
+ Hits         7908     7916       +8     
- Misses       5650     5653       +3     
  Partials       63       63              
Flag Coverage Δ
dashboards-observability 58.06% <75.00%> (+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.

@ps48 ps48 merged commit 1f78915 into 2.13 Mar 21, 2024
23 of 34 checks passed
@github-actions github-actions bot deleted the backport/backport-1598-to-2.13 branch March 21, 2024 00:15
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
opensearch-project#1601)

* clear interval when component unmounts

* updating empty state

* adding back button on empty page, fixing empty accelerations length checker in associated objects tab

---------

(cherry picked from commit a03bf43)

Signed-off-by: Sean Li <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 1f78915)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants