analytics/test
RobertJoonas 8cc7bce689
Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461)
* fix the styling of the red text notice under checkout link

* avoid some code repetition

* simplify rendering the change_plan_link

* refactor disabling checkout link and showing disabled message

* disable change plan and upgrade link when exceeding pageview limit

* disable checkout when exceeding team member limit

* disable checkout when site limit exceeded

* extract checkout related code in a separate function

* stick to a single order of features

* losing features warning

* fix back link from change-plan-preview

* create Quota.exceeded_limits function

* restrict subscribing with exceeded limits on the API level too

* use with instead of case

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

* use :map type instead of :any for user

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

* create Quota.usage function

---------

Co-authored-by: Vini Brasil <vini@hey.com>
2023-10-26 18:20:38 +03:00
..
e2e remove healthcheck for custom.plausible.io (#3364) 2023-09-22 15:42:29 +02:00
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461) 2023-10-26 18:20:38 +03:00
plausible_web Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461) 2023-10-26 18:20:38 +03:00
priv Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
support Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461) 2023-10-26 18:20:38 +03:00
workers Improve and simplify email verification codes generation (#3407) 2023-10-16 13:21:18 +02:00
test_helper.exs Use Phoenix LiveView for the upgrade page (#3382) 2023-10-03 13:36:22 +03:00