tane/apps/app_seeds/lib/ui
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
..
about_screen.dart feat(about): add Comunes Association copyleft notice à la Ğ1nkgo 2026-07-10 02:36:17 +02:00
app_drawer.dart feat(messages): unread badges + OS notification for private messages 2026-07-10 21:12:00 +02:00
auto_backup_gate.dart feat(backup): add automatic weekly encrypted backups 2026-07-10 10:17:36 +02:00
backup_section.dart feat(i18n): add Asturian (asturianu) as a language 2026-07-10 15:43:33 +02:00
chat_list_screen.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
chat_screen.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
draft_triage.dart style: dart format reflow (no behavior change) 2026-07-09 22:19:43 +02:00
harvest_date_picker.dart feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
home_screen.dart test(ui): small-phone overflow guard; fix Home clipping on small screens 2026-07-11 00:53:44 +02:00
intro_screen.dart feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
inventory_list_screen.dart Merge branch 'worktree-print-labels': print seed labels with QR 2026-07-10 19:20:33 +02:00
label_print_sheet.dart feat(labels): choose copies per label, prefilled from container count 2026-07-10 20:12:36 +02:00
market_offer_detail_screen.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
market_screen.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
market_widgets.dart feat(market): embed offer photos inline instead of a media server 2026-07-10 21:27:59 +02:00
offline_banner.dart feat(block2): global 'you're offline' banner (network state) 2026-07-10 15:18:16 +02:00
photo_pick.dart feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
profile_screen.dart refactor(social): one shared relay connection per identity 2026-07-10 21:50:34 +02:00
qr_view.dart feat(block2): QR of your npub in the profile (scan to share at a fair) 2026-07-10 13:00:47 +02:00
quantity_kind_l10n.dart feat(ui): Material 3 redesign, cover-photo viewer, About screen 2026-07-09 11:51:59 +02:00
quantity_picker.dart feat(ui): Material 3 redesign, cover-photo viewer, About screen 2026-07-09 11:51:59 +02:00
quick_add_sheet.dart feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
restart_widget.dart feat(identity): switch social identity, all from the one backup 2026-07-10 20:22:24 +02:00
seed_glyph.dart feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
settings_screen.dart feat(i18n): add Asturian (asturianu) as a language 2026-07-10 15:43:33 +02:00
theme.dart fix(ui): darken seedMuted and app-bar green to meet WCAG AA contrast 2026-07-09 12:50:26 +02:00
trust_network_screen.dart feat(trust): full Duniter web-of-trust membership (params + referents) 2026-07-10 21:02:08 +02:00
unread_badge.dart feat(messages): unread badges + OS notification for private messages 2026-07-10 21:12:00 +02:00
variety_detail_screen.dart perf(ui): debounce species/name lookups in the edit sheet 2026-07-10 02:32:02 +02:00