Pulse/frontend-modern/src
rcourtman 706822ed58 Fix updater auto-refresh for all open tabs (related to #671)
Problem: When an update was triggered, only the tab that clicked "Apply Update"
would show the progress modal and auto-refresh after completion. Other open tabs
would remain on the old version indefinitely.

Root cause: The UpdateProgressModal was only shown when explicitly opened via the
UpdateBanner component. WebSocket already broadcasts update:progress events, but
no global listener existed to show the modal in all tabs.

Solution: Added GlobalUpdateProgressWatcher component in App.tsx that:
- Listens to WebSocket updateProgress events globally (in all tabs)
- Filters to only real update-in-progress states (downloading, verifying, extracting,
  installing, restarting) to avoid false positives from routine update checks
- Auto-opens the progress modal when an update starts
- Allows manual dismissal after update completes
- Works independently of UpdateBanner visibility (e.g., when banner is dismissed)

The modal's existing health-check and auto-reload logic handles the page refresh
once the backend is healthy again.
2025-11-08 23:15:50 +00:00
..
api Add encryption status to notification health endpoint (P2) 2025-11-07 08:36:55 +00:00
components Fix CSRF token parsing in config export/import (related to #646) 2025-11-08 11:17:18 +00:00
constants Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
hooks Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
pages Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
stores Redirect to login when authentication expires 2025-11-05 19:36:01 +00:00
styles Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
test feat: enhance alerts system with tests and improved thresholds 2025-10-15 22:25:04 +00:00
types Improve Docker temperature monitoring documentation for clarity (related to #600) 2025-11-07 15:09:42 +00:00
utils Redirect to login when authentication expires 2025-11-05 19:36:01 +00:00
App.tsx Fix updater auto-refresh for all open tabs (related to #671) 2025-11-08 23:15:50 +00:00
constants.ts Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
index.css Allow layout to expand on wide displays (related to #643) 2025-11-06 21:51:17 +00:00
index.tsx Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
vite-env.d.ts Fix settings security tab navigation 2025-10-11 23:29:47 +00:00