analytics/lib/plausible_web/live
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
..
components Integrations Settings section (#3427) 2023-10-18 14:01:17 +02:00
funnel_settings Funnel Settings UI tweaks (to match Custom Props/Goals) (#3323) 2023-09-13 15:07:04 +02:00
goal_settings Refactor: Add 'goals' feature to JSON plan files (#3435) 2023-10-18 11:29:13 +03:00
plugins/api Track tokens usage (#3438) 2023-10-18 14:14:30 +02:00
props_settings Fix Add Property button font weight (#3356) 2023-09-18 10:32:02 +02:00
choose_plan.ex Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461) 2023-10-26 18:20:38 +03:00
flash.ex Connect to live socket only on specific pages (#3292) 2023-08-28 10:03:06 +02:00
funnel_settings.ex Funnel Settings UI tweaks (to match Custom Props/Goals) (#3323) 2023-09-13 15:07:04 +02:00
goal_settings.ex Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
props_settings.ex Funnel Settings UI tweaks (to match Custom Props/Goals) (#3323) 2023-09-13 15:07:04 +02:00
register_form.ex Improve forms (#3380) 2023-09-28 11:44:39 +02:00
reset_password_form.ex Handle missing or expired token in password reset action and LV gracefully (#3387) 2023-10-02 15:11:59 +02:00