tane/apps/app_seeds/test/ui
vjrj 2c33172ba4 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
..
about_screen_test.dart style: dart format reflow (no behavior change) 2026-07-09 22:19:43 +02:00
asturian_locale_test.dart feat(i18n): add Asturian (asturianu) as a language 2026-07-10 15:43:33 +02:00
auto_backup_gate_test.dart feat(backup): add automatic weekly encrypted backups 2026-07-10 10:17:36 +02:00
backup_section_test.dart feat(i18n): add Asturian (asturianu) as a language 2026-07-10 15:43:33 +02:00
bootstrap_splash_test.dart perf(startup): paint a splash immediately, run init off the first frame 2026-07-10 17:34:08 +02:00
chat_screen_test.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
draft_ocr_test.dart style: dart format reflow (no behavior change) 2026-07-09 22:19:43 +02:00
draft_triage_test.dart style: dart format reflow (no behavior change) 2026-07-09 22:19:43 +02:00
home_screen_test.dart Fix test 2026-07-10 19:14:29 +02:00
intro_screen_test.dart feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
inventory_list_screen_test.dart feat(labels): print seed labels with QR from an inventory selection 2026-07-10 19:14:04 +02:00
label_print_sheet_test.dart feat(labels): choose copies per label, prefilled from container count 2026-07-10 20:12:36 +02:00
market_offer_detail_screen_test.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
market_screen_test.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
market_widgets_test.dart feat(market): embed offer photos inline instead of a media server 2026-07-10 21:27:59 +02:00
quick_add_flow_test.dart feat(quick-add): save & add another for rapid manual entry 2026-07-09 14:45:48 +02:00
rtl_smoke_test.dart i18n: RTL smoke tests, Portuguese locale and a translation guide 2026-07-09 23:06:49 +02:00
share_flow_test.dart feat(inventory): local sharing — per-lot share terms, filter and printable catalog 2026-07-09 22:19:55 +02:00
small_screen_overflow_test.dart test(ui): small-phone overflow guard; fix Home clipping on small screens 2026-07-11 00:53:44 +02:00
theme_contrast_test.dart fix(ui): darken seedMuted and app-bar green to meet WCAG AA contrast 2026-07-09 12:50:26 +02:00
unread_badge_test.dart feat(messages): unread badges + OS notification for private messages 2026-07-10 21:12:00 +02:00
variety_detail_screen_test.dart feat(species): auto-classify variety species from its label 2026-07-10 02:23:32 +02:00