discourse/app/assets/stylesheets/common/base
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
..
_bookmark-list.scss FEATURE: Add bulk action to bookmark (#26856) 2024-05-22 12:50:21 -03:00
_index.scss DEV: Remove summarization code (#27373) 2024-07-02 08:51:47 -07:00
_topic-list.scss UX: Remove or replace button transitions with variable (#27527) 2024-06-20 19:51:20 +02:00
about.scss FEATURE: Add estimated number of global and EU visitors to the about page (#28382) 2024-08-21 00:03:42 +03:00
activation.scss UX: hide sidebar toggle on account created route (#26299) 2024-03-21 15:29:07 -04:00
alert.scss UX: revert icon colour change in alerts (#24916) 2023-12-15 13:32:35 +01:00
bbcode.scss
category-list.scss FIX: Use same names for category CSS variables (#24527) 2023-11-24 16:42:24 +02:00
code_highlighting.scss UX: highlight code in em and strong blocks (#26435) 2024-03-29 16:41:12 -04:00
colorpicker.scss FEATURE: Use native color-picker (#15748) 2022-02-01 11:18:13 -03:00
compose.scss UX: Hide the error tooltip when focusing the topic title (#27531) 2024-06-19 11:55:29 -03:00
composer-user-selector.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
crawler_layout.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
d-icon.scss
d-image-grid.scss UX: always show image preview controls, improve spacing (#27489) 2024-06-17 08:43:43 -04:00
dialog.scss A11Y: disable non-essential CSS animations for reduced-motion users (#23571) 2023-09-14 17:31:43 -04:00
directory.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
discourse.scss DEV: Add support for regular plugin outlets in hbr (#27840) 2024-08-08 16:59:28 +02:00
edit-category.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
edit-topic-timer-modal.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
ember-select.scss
emoji.scss UX: improve emoji alignment for text (#19815) 2023-01-30 14:07:08 +01:00
empty-state.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
exception.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
explain-reviewable.scss DEV: Prettify negative numbers in reviewable score explanation (#23642) 2023-09-25 10:34:51 +01:00
faqs.scss UX: Tweak styling for the new /about page (#28367) 2024-08-14 14:57:35 +03:00
group.scss UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
groups.scss UX: Remove or replace button transitions with variable (#27527) 2024-06-20 19:51:20 +02:00
header.scss UX: fix featured link alignment, hide participants wrapper outside of PMs (#27636) 2024-06-27 13:47:12 -04:00
history.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
json_schema.scss UX: Various improvements to JSON Schema editor (#24543) 2023-11-29 13:39:49 +03:00
lightbox.scss UX: vertical alignment for lighbox-wrapper (#27520) 2024-06-18 16:00:41 -04:00
login.scss UX: Streamline reset password page (#27341) 2024-06-05 15:22:59 +10:00
magnific-popup.scss A11Y: Better contrast for lightbox overlay links (#25208) 2024-01-10 14:07:49 -05:00
menu-panel.scss UX: Style reviewables in the user menu when avatars are enabled (#28388) 2024-08-15 10:26:36 -05:00
modal.scss UX: smaller modal headings, shorter flag mdoal title (#28278) 2024-08-08 12:18:20 -04:00
new-user.scss UX: remove default use of quaternary color, update nav pill styles (#27502) 2024-06-24 09:54:34 -04:00
not-found.scss A11Y: improve markup of 404 page search form (#26322) 2024-03-22 11:09:53 -04:00
onebox.scss UX: prevent twitter like/retweet counts from wrapping (#27333) 2024-06-04 16:55:50 -04:00
personal-message.scss UX: Merge the simplified topic map (#27964) 2024-07-22 19:42:29 -03:00
popup-menu.scss FIX: Restore legacy popup menu SCSS (#26864) 2024-05-03 12:27:09 -04:00
redirection.scss DEV: Use more css vars (#18561) 2022-10-12 16:05:42 +02:00
reorder-categories.scss UX: minor categories reorder fixes (#27249) 2024-05-29 18:58:25 -04:00
reviewables.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
revise-and-reject-post-reviewable.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
rtl.scss FEATURE: Serve RTL versions of admin and plugins CSS bundles for RTL locales (#21876) 2023-06-01 05:27:11 +03:00
search-menu.scss UX: improve search result consistency (#27289) 2024-06-04 15:34:21 +10:00
search.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
share_link.scss UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
shared-drafts.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
sidebar-custom-section.scss UX: normal cursor on custom sidebar link icon (#24427) 2023-11-20 09:13:08 +11:00
sidebar-footer.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
sidebar-more-section-links.scss DEV: Remove default button classes from sidebar buttons (#26893) 2024-05-07 09:20:30 -04:00
sidebar-section-link.scss DEV: Remove default button classes from sidebar buttons (#26893) 2024-05-07 09:20:30 -04:00
sidebar-section.scss UX: update appropriate btn-flat instances to btn-transparent (#25945) 2024-02-29 11:47:07 +01:00
sidebar.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
static-login.scss REFACTOR: move shadow vars to css custom props (#22094) 2023-06-13 16:38:31 -04:00
tagging.scss UX: prevent the tag bullet from shrinking (#27669) 2024-07-01 16:49:49 -04:00
tooltip.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
topic-admin-menu.scss FIX: Select posts menu styles (#26857) 2024-05-03 01:33:09 -03:00
topic-post.scss DEV: removes legacy modal code (#28047) 2024-07-24 18:07:17 +02:00
topic.scss UX: Merge the simplified topic map (#27964) 2024-07-22 19:42:29 -03:00
upload.scss UX: simplify styles for image uploader (#25970) 2024-02-29 14:39:00 -05:00
user-badges.scss A11Y: improve /badges structure for screen readers (#27698) 2024-07-03 17:16:21 -04:00
user-tips.scss UX: Improvements to user tips (#26480) 2024-04-03 11:43:56 -04:00
user.scss UX: fix user profile button wrap, clean up styles (#28255) 2024-08-06 17:47:51 -04:00