tane/apps/app_seeds/lib
vjrj 8315d20f73 test(ui): small-phone overflow guard; fix Home clipping on small screens
Adds test/ui/small_screen_overflow_test.dart: pumps the full screens at a
320x568 (iPhone-SE-class) viewport in the longest-text locales (es/pt/ast);
a RenderFlex overflow fails the test, so a clipped title or save button is
caught. It found — and this fixes — a real bug: the Home menu (a fixed,
non-scrolling Center>Column) clipped ~80px on small phones in every locale.
Home is now wrapped in LayoutBuilder + SingleChildScrollView +
ConstrainedBox(minHeight: maxHeight): centered when it fits, scrolls when it
doesn't, never clipped.

Also makes the test harness faithful: wrapScreen/wrapDetail now map the
locale through materialLocaleFor (ast->es) exactly like the app, so Asturian
screens don't throw on MaterialLocalizations (AppBar tooltips) — that had
masqueraded as an overflow.

Scope notes in the test: full screens only (modal bottom sheets get an
unbounded height in widget tests -> false huge overflow; they already scroll
their body), and the variety-detail screen is skipped (its ~2px hit is on a
DISPOSED/DEFUNCT RenderFlex — a transient during the cubit rebuild, not the
stable layout).
2026-07-11 00:53:44 +02:00
..
data fix(sync): replicate deletions and keep photos off the wire 2026-07-11 00:17:08 +02:00
db feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
di feat(sync): device-to-device inventory sync, end to end 2026-07-10 23:45:40 +02:00
domain Solve lint issue 2026-07-10 10:34:43 +02:00
i18n Merge branch 'claude/nostalgic-wright-acfc25': inline offer photos 2026-07-10 21:43:35 +02:00
security feat(backup): sealed backups + printable recovery sheet 2026-07-09 22:32:13 +02:00
services fix(sync): replicate deletions and keep photos off the wire 2026-07-11 00:17:08 +02:00
state refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
ui test(ui): small-phone overflow guard; fix Home clipping on small screens 2026-07-11 00:53:44 +02:00
app.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
bootstrap.dart feat(sync): device-to-device inventory sync, end to end 2026-07-10 23:45:40 +02:00
main.dart feat(identity): switch social identity, all from the one backup 2026-07-10 20:22:24 +02:00