Skip to content

fixed#207

Merged
johdanike merged 2 commits into
SwiftChainn:mainfrom
amina69:feature/offline-mode
Jun 29, 2026
Merged

fixed#207
johdanike merged 2 commits into
SwiftChainn:mainfrom
amina69:feature/offline-mode

Conversation

@amina69

@amina69 amina69 commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

fix(ui): resolve offline banner state desync & add 2s back online success state

This commit:

  1. Updates useOffline hook to track and show a 2-second "Back Online!" state
  2. Modifies OfflineBanner to display different states (red for offline, green for back online)
  3. Fixes state desync by ensuring network events trigger immediate UI updates
  4. Adds comprehensive tests for the new functionality

Closes #150

@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@amina69 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@johdanike

Copy link
Copy Markdown
Contributor

Kindly resolve the conflict. Pull from main and re-base then resolve and re-push. Nice work anyways, Thanks

@johdanike johdanike merged commit cdb60c5 into SwiftChainn:main Jun 29, 2026
0 of 2 checks passed
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.

Fix: Offline Mode Fallback Banner State Desync

2 participants