discourse/app/assets/stylesheets
Osama Sayegh 10ae7ef44a
FEATURE: Add estimated number of global and EU visitors to the about page (#28382)
This commit implements 2 new metrics/stats in the /about page for the _estimated_ numbers of unique visitors from the EU and the rest of the world. This new feature is currently off by default, but it can be enabled by turning on the hidden `display_eu_visitor_stats` site settings via the rails console.

There are a number of assumptions that we're making here in order to estimate the number of unique visitors, specifically:

1. we're assuming that the average of page views per anonymous visitor is similar to the average number of page views that a logged-in visitor makes, and
2. we're assuming that the ratio of logged in visitors from the EU is similar to the ratio of anonymous visitors from the EU

Discourse keeps track of the number of both logged-in and anonymous page views, and also the number of unique logged-in visitors and where they're from. So with those numbers and the assumptions above, we can estimate the number of unique anonymous visitors from the EU and the rest of the world.

Internal topic: t/128480.
2024-08-21 00:03:42 +03:00
..
common FEATURE: Add estimated number of global and EU visitors to the about page (#28382) 2024-08-21 00:03:42 +03:00
desktop UX: fix user profile button wrap, clean up styles (#28255) 2024-08-06 17:47:51 -04:00
mobile DEV: replace list control nav dropdown with DMenuMobile (#28324) 2024-08-16 01:40:47 +02:00
vendor DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
admin.scss Sane sendAction() behavior 2015-09-11 09:34:20 -07:00
admin_rtl.scss FEATURE: Serve RTL versions of admin and plugins CSS bundles for RTL locales (#21876) 2023-06-01 05:27:11 +03:00
color_definitions.scss UX: modernize the header drop shadow (#27843) 2024-07-10 14:29:36 -05:00
common.scss DEV: form-kit 2024-07-17 11:59:35 +02:00
desktop.scss DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
desktop_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
embed.scss FIX: Broken hashtags on embed and publish pages (#24210) 2023-11-02 11:43:55 +10:00
ember_cli.scss DEV: Require Ember CLI to be used in development mode (#12738) 2021-04-29 14:13:36 -04:00
mobile.scss DEV: form-kit 2024-07-17 11:59:35 +02:00
mobile_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
publish.scss FIX: Broken hashtags on embed and publish pages (#24210) 2023-11-02 11:43:55 +10:00
qunit-custom.scss UX: update twitter blue to X black (#26343) 2024-03-25 11:36:33 -04:00
qunit.scss DEV: Add dark theme support to QUnit (#19014) 2022-11-17 18:44:44 +01:00
wcag.scss UX: Merge the simplified topic map (#27964) 2024-07-22 19:42:29 -03:00
wizard.scss DEV: Update member access wizard step to use toggle group (#28013) 2024-07-29 14:07:06 +08:00
wizard_rtl.scss FEATURE: Serve RTL versions of admin and plugins CSS bundles for RTL locales (#21876) 2023-06-01 05:27:11 +03:00