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/test/support
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
..
conn_case.ex Implement better user password validation (#3344) 3 years ago
data_case.ex Google APIs integration improvements (#2358) 4 years ago
exchange_rate_mock.ex Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
factory.ex Integrations Settings section (#3427) 3 years ago
google_api_mock.ex Referrer drilldown (#252) 6 years ago
html.ex Implement new sites view (#3463) 3 years ago
http_mocker.ex Upgrade Erlang/Elixir stack (#3454) 3 years ago
paddle_api_mock.ex Fix upgrade page for legacy trials + bug fixes (#3486) 3 years ago
plugins_api_case.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
test_utils.ex Limit grandfathering to *active* subscribers and trials (#3524) 3 years ago