analytics/lib/plausible_web/controllers
RobertJoonas ba19f9530e
UI groundwork: Conversions to Behaviors (#3005)
* copy relevant files from b2ace16540

* make it work and set site.funnels to empty list

* make Behaviours a functional component

* add UI for a setup hint and always display conversions by default

* cherry-pick migration commit

* update site schema with new fields

* backend: implement disable-feature action

* switch between tabs in the behaviors section

Introduces template components to build props and funnels on. Both
only show a setup notice atm, and both are behind feature flags.

* extend API for disabling props and funnels

* render feature setup note directly from the Behaviours component

* fix UI behavior when features are hidden

* update setup notices

* add conversions feature switch to Site Settings > Goals

* mix format

* remove IO.inspect

* change setup notice - use buttons + popup confirmation

* optimize for light mode

* restrict access to setup notices

* some styling improvements

* allow super-admins to enable/disable features

* only show conversions (last 30min) in realtime mode

* use shorter display names for tabs

* optimize for mobile screens

* note about sending custom events

* changelog update + fix CI

* change HTTP verb for the disable-feature action

* change UI label for show/hide goals
2023-06-13 08:16:38 +02:00
..
api UI groundwork: Conversions to Behaviors (#3005) 2023-06-13 08:16:38 +02:00
site improve transfer ownership error message (#2651) 2023-02-13 15:25:17 +01:00
auth_controller.ex add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 2023-05-25 10:37:10 +03:00
billing_controller.ex Add tracking back to upgrade-success page (#2938) 2023-05-17 15:13:41 +02:00
error_report_controller.ex Simplify Phoenix error template (#2913) 2023-05-16 10:52:17 +02:00
helpers.ex Simplify Phoenix error template (#2913) 2023-05-16 10:52:17 +02:00
invitation_controller.ex fix ownership transfer when is_selfhost=true (#2455) 2022-11-24 16:18:29 +02:00
page_controller.ex add landing page (#2989) 2023-06-01 14:34:48 +03:00
site_controller.ex UI groundwork: Conversions to Behaviors (#3005) 2023-06-13 08:16:38 +02:00
stats_controller.ex UI groundwork: Conversions to Behaviors (#3005) 2023-06-13 08:16:38 +02:00
unsubscribe_controller.ex Add presence check when unsubscribing from email reports 2021-05-03 16:56:46 +03:00