analytics/test/plausible_web/live
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>
2023-11-16 15:40:50 +00:00
..
components Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
funnel_settings Bugfix: ComboBox navigation with creatable on top (#3316) 2023-09-04 14:56:31 +02:00
goal_settings Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
props_settings Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
choose_plan_test.exs Limit grandfathering to *active* subscribers and trials (#3524) 2023-11-16 15:40:50 +00:00
funnel_settings_test.exs Extract button component (#3474) 2023-11-08 11:40:07 +02:00
goal_settings_test.exs Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 2023-10-05 11:54:18 +02:00
plugins_api_tokens_test.exs Track tokens usage (#3438) 2023-10-18 14:14:30 +02:00
props_settings_test.exs Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
register_form_test.exs Implement better user password validation (#3344) 2023-09-25 10:27:29 +02:00
reset_password_form_test.exs Handle missing or expired token in password reset action and LV gracefully (#3387) 2023-10-02 15:11:59 +02:00
sites_test.exs Implement pinned sites (#3469) 2023-11-13 09:08:26 +01:00