discourse/spec/system/page_objects/components
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
..
navigation_menu FEATURE: Unseen feature indicator in admin sidebar (#28397) 2024-08-19 14:50:30 +10:00
about_page_site_activity_item.rb FEATURE: Add estimated number of global and EU visitors to the about page (#28382) 2024-08-21 00:03:42 +03:00
about_page_site_activity.rb FEATURE: Add estimated number of global and EU visitors to the about page (#28382) 2024-08-21 00:03:42 +03:00
about_page_users_list.rb DEV: Add admins and moderators sections to the redesigned /about page (#28273) 2024-08-12 16:23:44 +03:00
ace_editor.rb DEV: Allow typed objects theme settings to be saved via settings editor (#26100) 2024-03-11 08:42:12 +08:00
admin_about_config_area_contact_information_card.rb DEV: Migrate about config area to Form Kit (#28021) 2024-07-25 19:07:38 +03:00
admin_about_config_area_general_settings_card.rb DEV: Migrate about config area to Form Kit (#28021) 2024-07-25 19:07:38 +03:00
admin_about_config_area_your_organization_card.rb DEV: Migrate about config area to Form Kit (#28021) 2024-07-25 19:07:38 +03:00
admin_theme_settings_editor.rb DEV: Allow typed objects theme settings to be saved via settings editor (#26100) 2024-03-11 08:42:12 +08:00
admin_theme_translations_settings_editor.rb FEATURE: add language picker for theme translations in admin UI (#26150) 2024-03-18 12:00:28 -04:00
base.rb
bookmark_menu.rb DEV: implements <DropdownMenu /> (#26917) 2024-05-08 09:08:42 +02:00
calendar_date_time_picker.rb DEV: Add more structure for admin plugin config nav (#26707) 2024-05-02 11:36:46 +10:00
category_badge.rb FEATURE: Bulk topic tagging allowing restricted operations on sole categories (#26602) 2024-04-12 13:10:14 +10:00
category_list.rb DEV: Implement glimmer topic-list (#26743) 2024-05-21 14:36:15 +02:00
composer.rb FIX: prevents showing discard modal on re-edit (#26639) 2024-04-16 10:34:32 +02:00
d_toggle_switch.rb UI: redesigned settings/members (#23804) 2023-10-09 14:11:16 +02:00
dialog.rb DEV: Add confirm_danger to Dialog page object (#26846) 2024-05-03 09:31:16 +10:00
emoji_picker.rb
fast_editor.rb
filter.rb FEATURE: move back to the forum link above the filter (#26070) 2024-03-07 14:48:16 +11:00
form_kit.rb FIX: Badge image uploader (#28188) 2024-08-01 15:36:17 +02:00
group-card.rb
logo.rb DEV: adds logo page component (#28276) 2024-08-08 13:52:48 +02:00
new_topic_list_toggle_tab.rb FEATURE: New topics vs replies toggle for the new new view (#22920) 2023-08-18 12:44:04 +08:00
new_topic_list_toggle.rb UX: update /new toggle styles, class names (#23154) 2023-08-21 09:34:12 +08:00
pikaday_calendar.rb DEV: Add more structure for admin plugin config nav (#26707) 2024-05-02 11:36:46 +10:00
private_message_map.rb UX: Merge the simplified topic map (#27964) 2024-07-22 19:42:29 -03:00
select_kit.rb FEATURE: "Hot" replacing "Top" as default in the top menu (#28252) 2024-08-08 13:57:42 -04:00
sidebar_header_dropdown.rb
theme_translation_text_area.rb FEATURE: add language picker for theme translations in admin UI (#26150) 2024-03-18 12:00:28 -04:00
toasts.rb UX: enhances chat copy features (#23770) 2023-10-04 16:14:37 +02:00
tooltips.rb DEV: adds a tooltip system spec component (#28275) 2024-08-08 14:02:00 +02:00
topic_list_controls.rb UX: Don't hide new navigation item in experimental new new view (#26094) 2024-03-08 09:26:09 +08:00
topic_list_header.rb FEATURE: Use new topic bulk actions dropdown on search page (#27303) 2024-06-07 10:41:42 +10:00
topic_list.rb FIX: Correctly highlight new topic-list-items in glimmer (#27623) 2024-06-26 20:04:33 +02:00
topic_map.rb UX: Merge the simplified topic map (#27964) 2024-07-22 19:42:29 -03:00
topic_query_filter.rb FIX: /filter route input field not updating on route change (#23119) 2023-08-17 09:04:48 +08:00
topic_view.rb FIX: correctly untrack topics when dismiss unread (#23894) 2023-10-11 02:51:43 +00:00
uppy_image_uploader.rb FIX: Don't show blank space when there's no banner image (#28366) 2024-08-14 10:34:34 +03:00
user_menu.rb DEV: Add setUserMenuNotificationsLimit plugin-api method (#25119) 2024-01-09 08:38:00 +08:00