Salud moves to Home's header: a sixth tab pushed Start off centre
Tests / test (push) Canceled after 0s
Publish Docker images / build (., ./web/Dockerfile, web) (push) Canceled after 0s
Publish Docker images / build (./api, ./api/Dockerfile, api) (push) Canceled after 0s
Tests / test (push) Canceled after 0s
Publish Docker images / build (., ./web/Dockerfile, web) (push) Canceled after 0s
Publish Docker images / build (./api, ./api/Dockerfile, api) (push) Canceled after 0s
The tab bar is a flex row of equal columns with the Start button raised in the middle, so the tab count has to stay odd. Adding Salud as a sixth pushed that disc half a column to the right, and it read immediately as "the button moved" — the app's primary action is the one thing in the bar that must not drift. Salud is now the heart button in Home's header, next to the gear, with the same destination and the same route (/health). It is reachable from Settings → Data as well, which was already there. The tab bar is back to five: Home, Plan, Start, Stats, Exercises. Two tests, because this is the kind of change that regresses silently: TabBar.test.jsx asserts the odd count and that the raised button is the middle child (plus that no tab points at /health), and Home.health-door.test.jsx asserts the heart sits in the same non-shrinking container as the gear and navigates to /health — if that breaks, the screen is only reachable from Settings, where nobody looks for it. Also: the Comments in Home, TabBar, README, CHANGELOG and docs/HEALTH.md now say where Salud is, and one test assertion checks flexGrow/flexShrink rather than the `flex: none` shorthand — the CSSOM rewrites that to `0 0 auto`, which is what the first version of the test tripped over.
This commit is contained in:
1 parent
691e664d3f
commit
8d190bb591
7 files changed
+129
-9
No files matched your search
+2
-1
@@ -2,7 +2,8 @@
|
||||
|
||||
## Sin publicar — Apple Health (Salud)
|
||||
|
||||
A new **Salud** tab, next to Plan, and an endpoint behind it. An iOS automation in *Health Auto
|
||||
A new **Salud** screen, opened from the heart button in Home's header (next to the gear — the tab
|
||||
bar keeps its five tabs so the raised Start button stays centred), and an endpoint behind it. An iOS automation in *Health Auto
|
||||
Export* POSTs Apple Health to your profile and the data shows up as read-only cards: steps, heart
|
||||
rate, sleep, weight, oxygen, workouts, and every other metric HAE can export — including ones this
|
||||
fork has never heard of, which land under **Other** with a humanised name and a detail sheet listing
|
||||
|
||||
Reference in new issue
Block a user