mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Connection status in the top bar, as SilverBullet does
- The top bar (and the phone's status bar) turns red when the server can't be reached: the device is offline, or a request failed (signal but no internet, or the proxy answering for the app). While red it checks /up every 15 seconds and turns back on its own. - A ring fills while pages are saved for offline use or flights and squawks logged offline are sent, with the percentage in its middle, and hides when done. While some wait to send, it's amber with how many. Checked on an Android 14 emulator: airplane mode on and off, saving for offline, and a flight logged offline then sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
66fa5f4423
commit
d9de1be562
7 files changed
+220
-13
No files matched your search
@@ -3924,6 +3924,14 @@ en:
|
||||
not_entries: 'Not logbook entries (forms, tags…), so nothing was transcribed from: %{pages}.'
|
||||
unreadable: 'Too hard to read: %{pages}.'
|
||||
js:
|
||||
connection:
|
||||
offline: "Offline: can't reach the server. Pages saved for offline use still work."
|
||||
back_online: Back online.
|
||||
saving: "Saving for offline use: %{percent}%"
|
||||
sending: "Sending what was logged offline: %{percent}%"
|
||||
waiting:
|
||||
one: "%{count} logged offline, waiting to send"
|
||||
other: "%{count} logged offline, waiting to send"
|
||||
pdf:
|
||||
loading: Loading the PDF…
|
||||
page: Page %{page} of %{pages}
|
||||
|
||||
Reference in new issue
Block a user