Skip to content

The MailPoet window earns its brand - #42

Merged
AllTerrainDeveloper merged 2 commits into
mainfrom
fix/mailpoet-window-polish
Aug 22, 2026
Merged

AllTerrainDeveloper merged 2 commits into
mainfrom
fix/mailpoet-window-polish

Conversation

@AllTerrainDeveloper

Copy link
Copy Markdown
Owner

Fixes from design review of #41

1. The scroll bug (structural). .atfm was missing from the shared window-root rule, so the pane never got the flex column + bounded height that let its body own the scrolling. The window body scrolled instead, and the shell-scroll pin snapped it back to the top on every wheel tick — the "jumpy back to top". The root joins the rule; the pane scrolls and holds.

2. Real brand assets. The small borrowed logo is replaced by MailPoet's actual wordmark + symbol, bundled under assets/img/ (they ship — assets/ is in the ships list). This also lets the window introduce MailPoet before it's installed, when the introduction matters most.

3. The window becomes a place worth reading.

  • A proper hero: warm orange gradient glows, the wordmark large on a lit white chip, "Turn submissions into subscribers", live status pill.
  • Three "why MailPoet" cards (visual editor, double opt-in, free tier) + links into their features / guides / pricing.
  • A three-step "how connecting works" strip.
  • Form cards wear the MailPoet symbol — full colour when connected, greyed when not — and the editor groups its controls under three captions: Where they land, Who they are, When to subscribe.
  • The consent field type joins the opt-in picker (the QA form exposed the gap).

One CSS lesson recorded in a comment where it bit: overflow: hidden on a grid item zeroes its automatic minimum size — the hero collapsed to its padding under it.

Verified live on 8889: scroll holds, hero renders, connected/unconnected marks correct, editor flow works. tsc clean, 372 vitest pass, PHPCS clean; all 12 bundles rebuilt.

Not merging — awaiting Daniel's review.

🤖 Generated with Claude Code

https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp

AllTerrainDeveloper and others added 2 commits August 22, 2026 21:59
Three fixes from design review of #41, one of them structural.

The window would not scroll: `.atfm` was missing from the shared
window-root rule, so it never got the flex column and bounded height
that let its body own the scrolling — the *window body* scrolled
instead, and the shell-scroll pin snapped it back to the top on every
wheel tick. The root joins the rule, the body scrolls, the pin now
protects instead of fighting.

The borrowed logo goes: MailPoet's real wordmark and symbol ship as
bundled brand assets, which also lets the window introduce MailPoet
properly before it is installed — exactly when the introduction
matters. The wordmark carries a proper hero now: warm orange gradient
glows, the mark large on a lit white chip, "Turn submissions into
subscribers", and a status pill with a live dot.

And the window becomes a place worth reading: three cards on why
MailPoet is worth meeting (the visual editor, double opt-in, the free
tier), doors into their features, guides and pricing, a three-step
strip for how connecting works, and form cards wearing the MailPoet
symbol — full colour when connected, greyed while not — with the
editor grouped under three captions: where they land, who they are,
when to subscribe. The `consent` field type joins the opt-in picker,
which the QA form showed it was missing from.

One CSS lesson recorded where it bit: `overflow: hidden` on a grid
item zeroes its automatic minimum size, and the hero collapsed to its
padding under it — the gradients it guarded are backgrounds, which
cannot overflow anything.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp
"Checking MailPoet…" was a corner spinner in an empty window. It is a
landing now: the MailPoet symbol breathing on a lit chip in the middle
of the window, the words beneath it — and the same centered surface
carries the error sentence if the one request fails. Reduced motion
stills the breath.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp
@AllTerrainDeveloper
AllTerrainDeveloper merged commit 174cde4 into main Aug 22, 2026
3 checks passed
@AllTerrainDeveloper
AllTerrainDeveloper deleted the fix/mailpoet-window-polish branch August 22, 2026 20:06
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