discourse/app/assets/stylesheets/common
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
..
admin FIX: Don't show silence button on staff users and display similar users (#28423) 2024-08-20 15:27:29 +03:00
base FEATURE: Add estimated number of global and EU visitors to the about page (#28382) 2024-08-21 00:03:42 +03:00
components DEV: replace list control nav dropdown with DMenuMobile (#28324) 2024-08-16 01:40:47 +02:00
float-kit DEV: allows for multiple menus/tooltips (#26823) 2024-05-07 23:48:44 +02:00
form-kit UX: move admin flag form to form-kit (#28187) 2024-08-05 11:01:25 +10:00
foundation DEV: better highlighting of mentions (#28403) 2024-08-20 14:37:28 +02:00
login UX: cleaning up some invite page styles (#25247) 2024-01-12 17:15:01 -05:00
modal UX: smaller modal headings, shorter flag mdoal title (#28278) 2024-08-08 12:18:20 -04:00
select-kit UX: allow category names in select-kit to truncate if needed (#27941) 2024-07-16 17:52:17 -04:00
table-builder DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
d-editor.scss UX: move composer image controls below image (#27610) 2024-06-25 15:51:52 -04:00
font-variables.scss UX: increase base font-size to 16px (#27087) 2024-05-20 21:08:20 +02:00
input_tip.scss UX: Hide the error tooltip when focusing the topic title (#27531) 2024-06-19 11:55:29 -03:00
loading-slider.scss FIX: better supports ipad and hub footer nav (#25518) 2024-02-01 10:24:44 +01:00
post-action-feedback.scss FIX: allow styling of feedback on mobile (#25072) 2023-12-30 08:57:16 +11:00
printer-friendly.scss FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
software-update-prompt.scss DEV: Convert software-update-prompt to glimmer/gjs/dbutton (#28341) 2024-08-13 15:47:14 +02:00
topic-entrance.scss DEV: Implement glimmer topic-list (#26743) 2024-05-21 14:36:15 +02:00
topic-timeline.scss UX: topic admin button should match height of siblings (#26973) 2024-05-13 11:23:00 -04:00
whcm.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00