Skip to content

Fix welcome screen layout overflow; rebrand web loader#95

Merged
krazyjakee merged 1 commit into
masterfrom
fix/welcome-layout-overflow
Jun 9, 2026
Merged

Fix welcome screen layout overflow; rebrand web loader#95
krazyjakee merged 1 commit into
masterfrom
fix/welcome-layout-overflow

Conversation

@krazyjakee

Copy link
Copy Markdown
Contributor

What changed

  • Fix infinite-height layout crash on the welcome screen. The wide-layout Row in welcome_view.dart used CrossAxisAlignment.stretch while nested inside a SingleChildScrollView (vertically unbounded). stretch therefore tried to size the row to infinite height, throwing BoxConstraints forces an infinite height on first layout, followed by a cascade of "render box with no size" / "cannot hit test" errors. Wrapping the Row in IntrinsicHeight bounds it to the tallest card's height, so the feature cards still render at equal heights without the bad constraint.
  • Rebrand the web loading screen (web/index.html) from Bonfire's fire palette to Daccord's accent colors (#5764F1 family), matching the app's dark theme.

Why

The welcome/onboarding screen — the first thing a user sees on web (and any layout wider than 420px) — threw a continuous stream of rendering exceptions on load. The IntrinsicHeight wrap is the minimal fix that preserves the intended equal-height card row.

Testing

  • Ran the web build (flutter run -d chrome) before and after.
  • Before: continuous EXCEPTION CAUGHT BY RENDERING LIBRARY / infinite-height assertions on load.
  • After: 0 layout exceptions; welcome screen renders cleanly and serves at localhost:8088.

Reviewer notes

  • pubspec.lock is intentionally not included. Local verification ran on stable Flutter 3.38.1 (the repo pins beta via .fvmrc, whose Dart SDK requires macOS 14; the test machine is on 13.0), which downgraded several locked packages. That lockfile churn was reverted so it doesn't leak into the repo — pubspec.lock is unchanged from master.

🤖 Generated with Claude Code

The wide-layout Row in welcome_view.dart used CrossAxisAlignment.stretch
inside a SingleChildScrollView (vertically unbounded), forcing an
infinite height and throwing a cascade of layout assertions on load.
Wrap it in IntrinsicHeight so stretch resolves to the tallest card's
height, keeping equal-height feature cards without the bad constraint.

Also rebrand web/index.html's loading screen from Bonfire's fire
palette to Daccord's accent colors (#5764F1 family) to match the app's
dark theme.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@krazyjakee krazyjakee merged commit fcc58aa into master Jun 9, 2026
1 check passed
@krazyjakee krazyjakee deleted the fix/welcome-layout-overflow branch June 9, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant