discourse/app/assets/javascripts/admin/addon/controllers
Martin Brennan 14b436923c
FEATURE: Switch to new methods of pageview measurement and reporting (#28729)
### UI changes

All of the UI changes described are gated behind the `use_legacy_pageviews`
site setting.

This commit changes the admin dashboard pageviews report to
use the "Consolidated Pageviews with Browser Detection" report
introduced in 2f2da72747 with
the following changes:

* The report name is changed to "Site traffic"
* The pageview count on the dashboard is counting only using the new method
* The old "Consolidated Pageviews" report is renamed as "Consolidated Legacy Pageviews"
* By default "known crawlers" and "other" sources of pageviews are hidden on the report

When `use_legacy_pageviews` is `true`, we do not show or allow running
the "Site traffic" report for admins. When `use_legacy_pageviews` is `false`,
we do not show or allow running the following legacy reports:

* consolidated_page_views
* consolidated_page_views_browser_detection
* page_view_anon_reqs
* page_view_logged_in_reqs

### Historical data changes

Also part of this change is that, since we introduced our new "Consolidated
Pageviews with Browser Detection" report, some admins are confused at either:

* The lack of data before a certain date , which didn’t exist before
  we started collecting it
* Comparing this and the current "Consolidated Pageviews" report data,
  which rolls up "Other Pageviews" into "Anonymous Browser" and so it
  appears inaccurate

All pageview data in the new report before the date where the _first_
anon or logged in browser pageview was recorded is now hidden.
2024-09-10 09:51:49 +10:00
..
admin-badges FIX: allows to manually remove error for virtual fields (#28555) 2024-08-26 20:32:46 +02:00
admin-api-keys-index.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-api-keys-new.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-api-keys.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-backups-index.js UX: Fix restore info link on admin backups page (#28452) 2024-08-21 13:23:24 +10:00
admin-backups-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-backups-settings.js UX: Apply admin interface guidelines to Backups page (#28051) 2024-08-20 09:59:43 +10:00
admin-backups.js UX: Apply admin interface guidelines to Backups page (#28051) 2024-08-20 09:59:43 +10:00
admin-badges.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-config-flags-settings.js UX: flag settings tab to follow UI guidelines (#28479) 2024-08-27 09:47:19 +10:00
admin-config-flags.js UX: flag settings tab to follow UI guidelines (#28479) 2024-08-27 09:47:19 +10:00
admin-customize-colors-show.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-colors.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-style-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-templates-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-email-templates.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-form-templates-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-robots-txt.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-customize-themes-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-customize-themes-show.js FIX: Locale mismatch at theme translations picker (#26687) 2024-04-19 14:23:27 -03:00
admin-customize-themes.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-dashboard-general.js FEATURE: Switch to new methods of pageview measurement and reporting (#28729) 2024-09-10 09:51:49 +10:00
admin-dashboard-moderation.js DEV: Replace period mixin with a component (#25292) 2024-01-18 13:06:42 +01:00
admin-dashboard-reports.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-dashboard-tab.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-dashboard.js FEATURE: Always show full page "New Features" to admins (#28383) 2024-08-16 09:12:24 +10:00
admin-email-advanced-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-bounced.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-logs.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-preview-digest.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-email-received.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-rejected.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-email-sent.js FEAT: add cc addresses and post_id to sent email logs (#25014) 2024-01-03 09:27:25 +08:00
admin-email-skipped.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-embedding.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-emojis.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-logs-screened-emails.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-logs-screened-ip-addresses.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-logs-screened-urls.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-logs-staff-action-logs.js FEATURE: Log tag group changes in staff action log (#28787) 2024-09-09 10:50:48 +08:00
admin-permalinks.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-plugins-index.js UX: Change admin plugins list to follow UI guidelines (#28478) 2024-08-30 14:53:36 +10:00
admin-plugins-show-settings.js FIX: Admin setting search debounce losing characters (#27238) 2024-05-29 15:49:44 +10:00
admin-plugins.js UX: Change admin plugins list to follow UI guidelines (#28478) 2024-08-30 14:53:36 +10:00
admin-reports-show.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-search-logs-index.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-search-logs-term.js DEV: Convert admin charts to glimmer/gjs (#28271) 2024-08-23 14:59:56 +02:00
admin-site-settings-category.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-site-settings.js FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
admin-site-text-edit.js DEV: controllers/admin-site-text-edit to native class syntax (#28173) 2024-07-31 17:37:24 +01:00
admin-site-text-index.js FEATURE: Allow showing site text search in selected locale (#28453) 2024-08-26 11:25:36 +10:00
admin-user-badges.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-fields.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-user.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin-users-list-show.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
admin-watched-words-action.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-watched-words.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
admin-web-hooks-edit.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks-index.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
admin-web-hooks-show.js FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
admin-web-hooks.js DEV: Update admin controllers to native class syntax (#20674) 2023-03-15 09:42:12 +00:00
admin.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00