Skip to content

Add offline detection and network status banner#172

Merged
Mosas2000 merged 1 commit intomainfrom
feature/offline-network-detection
Feb 26, 2026
Merged

Add offline detection and network status banner#172
Mosas2000 merged 1 commit intomainfrom
feature/offline-network-detection

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Closes #59

Detects when the user loses internet connectivity and shows a persistent red banner at the top of the page.

Changes:

  • useOnlineStatus hook listens for browser online/offline events
  • OfflineBanner component shows warning when offline, auto-hides when back online
  • Banner rendered at the top of App.jsx with fixed positioning

useOnlineStatus hook listens for browser online/offline events.
OfflineBanner renders a fixed red banner when connectivity is lost
and automatically hides when the connection is restored.
@Mosas2000 Mosas2000 merged commit c9d8c68 into main Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No offline handling or network connectivity detection

1 participant