analytics/lib/plausible_web/components
RobertJoonas 686ffa6ef3
Clean up legacy trials code + displaying limits (#3620)
* remove unused functionality

We can now safely delete all the logic around users who are on trial and
signed up *before* the business tiers release, since that's no longer
possible

* add monthly_pageview_limit fn clause that takes a user

* make Quota.site_limit return enterprise site limit

...not `:unlimited`, as we still need to display it
in the account settings.

* make `team_member_limit/1` return :unlimited on small_build

* improve team_member_usage/1 function doc

* stop displaying unlimited symbol in usage section

These unlimited limits include:

* `monthly_pageview_limit` for trials
* `team_member_limit` for old enterprise plans
* `site limit` for old accounts (before 2021-05-05)

* format

* small refactor case clause + move mod vars

* review suggestions
2023-12-13 10:47:50 +00:00
..
site Extract button component (#3474) 2023-11-08 11:40:07 +02:00
billing.ex Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
generic.ex Use dropdown component in /sites page (#3572) 2023-12-13 10:59:20 +02:00
google.ex Integrations Settings section (#3427) 2023-10-18 14:01:17 +02:00
settings.ex Integrations Settings section (#3427) 2023-10-18 14:01:17 +02:00
two_factor.ex Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00