diff --git a/mocks/settings/a-settings-list.html b/mocks/settings/a-settings-list.html new file mode 100644 index 0000000..6505b05 --- /dev/null +++ b/mocks/settings/a-settings-list.html @@ -0,0 +1,63 @@ +WristCode settings A: Sectioned list
+ +
+
‹ Settings9:41
+
Environments
+
DesktopDirect
+
Mac miniDirect
+
LaptopVPN
+
server-gibDirect
+
Settings. Every environment and the route it is on. Amber means online but on a fallback route. Gateway and This watch sections follow below.
+ +
+
‹ Laptop9:41
+
Online via VPN
Fallback 2 of 4 · since 9:12
+
Routes, in order
+
+
✕laptop.gib:37735 s
+
●laptopvpn.gib:3773now
+
○t3laptop…–
+
○t3laptopvpn…–
+
+
Environment. The route ladder: what failed, what is in use, what was not needed. Token expiry, T3 version and Reconnect sit below.
+ +
+
‹ Gateway9:41
+
wristcode.gbrown.org
junior.gib · up 3 h
+
Push serviceReady
+
Last push2 min ago ✓
+
Tokens expirein 29 days
+
Gateway. Whether pushes can go out and when the last one did, plus the next token renewal.
+ +
+
‹ This watch9:41
+
Apple Watch
Paired today · notifications on
+ Send test notification + Notification settings + Unpair +
This watch. The test button answers "why didn't it buzz?" in one tap.
+ +
diff --git a/mocks/settings/b-status-tiles.html b/mocks/settings/b-status-tiles.html new file mode 100644 index 0000000..15601e0 --- /dev/null +++ b/mocks/settings/b-status-tiles.html @@ -0,0 +1,67 @@ +WristCode settings B: Status tiles
+ +
+
5 of 5 online9:41
+
+
🏠
Desktop
direct
+
🏠
Mac mini
direct
+
🛡
Laptop
VPN fallback
+
🏠
server-gib
direct
+
+
Status. A tile per environment. The icon is the route kind, so a laptop on the VPN or a host on its public URL stands out without reading.
+ +
+
‹ Laptop9:41
+
+
laptop.gib:3773
no answer in 5 s
+
laptopvpn.gib:3773
connected 9:12
+
t3laptop.gbrown.org
+
t3laptopvpn.gbrown.org
+
+ Reconnect +
Environment. The routes as a vertical ladder the gateway walks down. Reconnect retries from the top, for when you get home.
+ +
+
Health9:41
+
✓Gatewayjunior
+
✓Pushes2 min ago
+
✓Tokens29 days
+
✓This watchregistered
+
Health. One screen of checks, swiped to from Status. Each row opens its detail.
+ +
+
‹ Pushes9:41
+
✓
Delivered
Apple accepted it at 9:41:03
+ Send another +
Test result. The gateway shows what Apple answered. A failure names its cause, such as an expired device token or the wrong push environment.
+ +
diff --git a/mocks/settings/c-whats-wrong.html b/mocks/settings/c-whats-wrong.html new file mode 100644 index 0000000..6a3d708 --- /dev/null +++ b/mocks/settings/c-whats-wrong.html @@ -0,0 +1,59 @@ +WristCode settings C: What's wrong first
+ +
+
9:41
+
All connected
5 environments · pushes OK
+
Laptop is on its VPN route
laptop.gib did not answer
+
4 more, all direct
+
Overview. One headline, then only what deserves a look. When nothing does, it just says so.
+ +
+
Needs attention9:41
+
Mac mini offline
Both routes failed · 4 min
+
Tokens expire in 5 days
Run renew-hosts.sh
+
3 healthy
+
Same screen, bad day. Red for offline, amber for warnings. The fix is in the second line where there is one.
+ +
+
‹ Mac mini9:41
+
+
✕ mac.gib:3773 refused
+
✕ t3mac.gbrown.org 502
+
+
Next try in 40 s · last online 9:37
+ Try now +
Environment. Each route with its actual error, and when the gateway tries again.
+ +
+
‹ Notifications9:41
+
This watchregistered
+
Last push2 min ago ✓
+ Send test +
Gateway on junior.gib · Unpair
+
Notifications. Gateway and watch details fold into this one page, since the push path is what they are for.
+ +