feat(android): align native preview with measured PWA design
Android validation / emulator (37.0) (push) Failing after 3s
Android validation / emulator (35) (push) Failing after 4s
iOS validation / simulator (push) Successful in 59s
Android validation / build (push) Successful in 5m30s

This commit is contained in:
Yuvomi Mobile Contributors committed 2026-10-21 10:45:16 +02:00
1 parent bd0e4cc4fb
commit 7ac9882307
30 files changed
+2793 -750

No files matched your search

+33
View File
@@ -13,6 +13,39 @@ Read [native parity](native-parity.md), [architecture](architecture.md), and
shopping slices exist, but **no module has accepted full visual/functional parity**.
The remaining pages/settings/auth/file/offline/notification work is explicit.
### Android design follow-up: 0.2.2 native preview / code 4
The user confirmed the login fix and requested the PWA design 1:1. The Android
slice now uses PWA-derived native primitives in `PwaDesign.kt`, `PwaIcons.kt`,
`PwaShell.kt`, `NativePages.kt` and `NativeForms.kt`, instead of the first generic
Material layout. `PwaPresentation.kt` handles greeting/timezone/config filtering;
the controller reads personal preferences and auto-selects the first shopping list.
The confirmed cookie/session transport was not changed.
Read [design comparison](native-design.md) before making visual claims. External
Playwright 1.55.1/Chromium 140 tooling captures the actual unmodified PWA; the
emulator exports ten light/dark native views with viewport metadata. Match the
360 × 592 content viewport and Android variable Roboto, not the system-bar-inclusive
root. The earlier clipped tab labels were caused by per-tab circular clipping.
The apparent second white capsule segment occurred where subsequent dashboard
content remained visible beneath the translucent navigation; inspect actual
matched captures rather than treating any visible card edge as a second bar.
Reference generation uses `/tmp/opencode/yuvomi-visual-tools/node_modules/playwright`,
`/tmp/opencode/yuvomi-visual-tools/fonts.conf` and persistent browsers at
`/home/neste/yuvomi-tools/playwright-browsers`. The temporary font config points to
the emulator's variable `/system/fonts/Roboto-Regular.ttf`; it includes all weights.
Set `PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=ubuntu24.04-x64` on this Ubuntu 26 host.
Reference output is ignored under `artifacts/visual/pwa-360x592`; native screenshots
are in the external build's `app/outputs/native-screenshots`. The side-by-side
compositor is tooling only; screenshots are evidence, not automated parity approval.
iOS is unchanged. No module has accepted full functional/visual parity, the rest
of the inventory remains open, and signing stays paused. Continue refinement from
actual comparison images, including non-default font sizes/devices and native
module functionality; do not declare the whole user request finished from this
Android slice alone.
### Android login follow-up: 0.2.1 native preview / code 3
A user reported immediate HTTP-401 login failure although the same direct password