FLPATH-4262 | [DCM] Provider health status is static with no refresh or polling#3342
Conversation
Changed Packages
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3342 +/- ##
==========================================
- Coverage 54.01% 54.00% -0.02%
==========================================
Files 2403 2404 +1
Lines 87411 87627 +216
Branches 24182 24273 +91
==========================================
+ Hits 47219 47323 +104
- Misses 38709 38787 +78
- Partials 1483 1517 +34
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
jkilzi
left a comment
There was a problem hiding this comment.
After a failed refresh, Retry shows the empty state instead of a spinner because hasLoadedRef stays true while items is empty. Consider using loading when items.length === 0, or preserving items on refresh failure. Also worth a unit test asserting refreshing === true during manual reload.
|



Tasks:
FLPATH-4262 | [DCM] Provider health status is static with no refresh or polling
Changes:
Add a manual refresh button to the Providers table to update health status without a full page reload.
A sync icon button now appears next to the search field in the Providers card header. Clicking it re-fetches the provider list (including
health_status) while keeping the table visible. A spinner is shown on the button during the request. The initial page load behaviour is unchanged.