Skip to content

auto topup welcome modal - #187

Merged
reynaldichernando merged 1 commit into
mainfrom
auto-topup-whats-new
Nov 18, 2026
Merged

reynaldichernando merged 1 commit into
mainfrom
auto-topup-whats-new

Conversation

@reynaldichernando

Copy link
Copy Markdown
Member

behaviour:

  • this runs alongside the current whats new popup (fast mode)
  • for paid user, the fast mode one shows first, and after their 2nd visit, it will show this auto topup
    • if they already seen the fast mode, then it just skips to this
  • for free user, they will just see fast mode

@reynaldichernando reynaldichernando changed the title auto topup welcome info auto topup welcome modal Nov 17, 2026
@reynaldichernando
reynaldichernando marked this pull request as ready for review November 18, 2026 16:00
@reynaldichernando
reynaldichernando requested a balanced review from Copilot November 18, 2026 16:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are blocking the announcement update.

No open issues 🎉

What changed in this PR

Adds an auto top-up announcement to the existing What’s new dialog, following fast mode on a later visit for eligible paid accounts.

Changes:

  • Sequences announcements by eligibility, active dates, and account-level viewing history.
  • Adds a billing-settings link and animated auto top-up artwork with mobile, dark-mode, and reduced-motion support.
  • Expands tests for announcement ordering, eligibility, expiry, and dismissal.
File Description
src/​js/​whats-new.js Adds announcement sequencing and the auto top-up modal content.
src/​js/​app.js Updates startup comments to describe one announcement per load; no functional change.
src/​css/​styles.css Styles the billing link and auto top-up illustration.
scripts/​test-whats-new.mjs Tests sequencing, eligibility, date windows, and modal behavior with a controlled clock.

Review effort: Balanced

@reynaldichernando
reynaldichernando merged commit 335eff7 into main Nov 18, 2026
2 checks passed
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.

2 participants