aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/hooks/useAutoRefresh.ts
AgeCommit message (Collapse)Author
2025-08-06feat: Implement pull-to-refresh functionality across various componentsAriel Costas Guerrero
- Added `PullToRefresh` component to enable pull-to-refresh behavior in `StopList` and `Estimates` pages. - Integrated `usePullToRefresh` hook to manage pull-to-refresh state and actions. - Created `UpdateNotification` component to inform users of available updates from the service worker. - Enhanced service worker management with `ServiceWorkerManager` class for better update handling and caching strategies. - Updated CSS styles for new components and improved layout for better user experience. - Refactored API caching logic in service worker to handle multiple endpoints and dynamic cache expiration. - Added auto-refresh functionality for estimates data to keep information up-to-date.