Skip to content

Starter tier: Upgrade page remodelling #5394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
May 20, 2025
Merged

Starter tier: Upgrade page remodelling #5394

merged 18 commits into from
May 20, 2025

Conversation

RobertJoonas
Copy link
Contributor

@RobertJoonas RobertJoonas commented May 14, 2025

Feature flag

This PR introduces a new upgrade page under a starter_tier feature flag. To make the separation cleaner, all existing upgrade page logic will continue to live in modules/functions with a legacy prefix (all of which can safely be deleted once the feature flag is live):

  • choose_plan.ex -> legacy_choose_plan.ex
  • plan_box.ex -> legacy_plan_box.ex
  • plan_benefits.ex -> legacy_plan_benefits.ex
  • choose_plan_test.exs -> legacy_choose_plan_test.exs
  • Plausible.Billing.Quota.suggest_tier -> Plausible.Billing.Quota.legacy_suggest_tier

Changes

Adds Starter plans on the upgrade page along with some other changes:

  • Removes header (Plausible Logo and account dropdown) - replaces it with a simple "<- back to settings" link
  • Yearly price is now selected by default (unless the user is already on a monthly plan)
  • Yearly plans now also display the monthly price and monthly discount.
  • moves the "current cycle / last 30 days usage" and the "what happens if I go over my pageview limit?" paragraph into a FAQ style accordion menu

Tests

  • Automated tests have been added

Changelog

  • This PR does not make a user-facing change

Documentation

  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode

Copy link

Preview environment👷🏼‍♀️🏗️
PR-5394

@RobertJoonas RobertJoonas changed the base branch from master to plans-v5 May 14, 2025 17:28
@RobertJoonas RobertJoonas requested a review from ukutaht May 15, 2025 09:53
@RobertJoonas RobertJoonas changed the base branch from plans-v5 to master May 15, 2025 11:02
@RobertJoonas RobertJoonas added this pull request to the merge queue May 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 20, 2025
@RobertJoonas RobertJoonas added this pull request to the merge queue May 20, 2025
@RobertJoonas RobertJoonas removed this pull request from the merge queue due to a manual request May 20, 2025
@RobertJoonas RobertJoonas added this pull request to the merge queue May 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 20, 2025
@RobertJoonas RobertJoonas added this pull request to the merge queue May 20, 2025
Merged via the queue into master with commit 2dd144b May 20, 2025
8 checks passed
@RobertJoonas RobertJoonas deleted the new-upgrade-page branch May 20, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants