You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib
RobertJoonas d66322e12d
Limit grandfathering to *active* subscribers and trials (#3524)
* refactor asserting plan generation in plans_test.exs

* stop grandfathering old expired trials

For users who registered before the business tiers release, we want to
offer a chance to subscribe to a grandfathered plan. However, if they
let their trial expire and don't subscribe in the next 10 days, they'll
lose that opportunity.

* stop grandfathering expired subscriptions

* remove default title and icon from Generic.notice

* fix bug with dismissable notice

classList is null when dismissable_id is not given

* alias Plausible.Auth.User

* Refactor Generic.notice component

Make it easy to apply different colors

* move subscription_cancelled_notice across the app

And remove from user settings > subscription box. Also, include a note
about losing grandfathered status when letting the subscription expire.

* allow full width in Generic.notice

* use Generic.notice for subscription_past_due_notice

* use Generic.notice for subscription_paused_notice

* prevent two notices clashing into each other with gap-y-2

* define attrs for phx components

* optimize for light mode

* make subscription cancelled notice dismissable

but if it's dismiss, show it in the place where it was before in the
account settings > subscription box

* make function private

* replace function doc with regular comment to avoid compile warning

* use array for classnames

Co-authored-by: Vinicius Brasil <vini@hey.com>

* fix typos in function doc

---------

Co-authored-by: Vinicius Brasil <vini@hey.com>
3 years ago
..
mix/tasks Upgrade Erlang/Elixir stack (#3454) 3 years ago
plausible Limit grandfathering to *active* subscribers and trials (#3524) 3 years ago
plausible_web Limit grandfathering to *active* subscribers and trials (#3524) 3 years ago
workers Fix upgrade page for legacy trials + bug fixes (#3486) 3 years ago
oban_error_reporter.ex Delete stats improvements (#2318) 4 years ago
plausible.ex Clean up after V2 migration (#2868) 4 years ago
plausible_release.ex Make FixBrokenGoals migration idempotent (#3405) 3 years ago
plausible_web.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
sentry_filter.ex derive jason encoder for request (#3182) 3 years ago