discourse/app/models/concerns/reports
Martin Brennan 15838aa756
DEV: Convert AdminReport component to gjs (#31011)
This commit converts the `AdminReport` component, which is quite
high complexity, to gjs. After this initial round, ideally this
component would be broken up into smaller components because it is
getting quite big now.

Also in this commit:

* Add an option to display the report description in a tooltip, which
was
   the main way the description was shown until recently. We want to use
   this on the dashboard view mostly.
* Move admin report "mode" definitions to the server-side Report model,
inside a `Report::MODES` constant, collecting the modes defined in
various
   places in the UI into one place
* Refactor report code to refer to mode definitions
* Add a `REPORT_MODES` constant in JS via javascript.rake and refactor
  JS to refer to the modes
* Delete old admin report components that are no longer used
  (trust-level-counts, counts, per-day-counts) which were replaced
  by admin-report-counters a while ago
* Add a new `registerReportModeComponent` plugin API, some plugins
   introduce their own modes (like AI's `emotion`) and components and
   we need a way to render them
2025-01-29 10:33:43 +10:00
..
bookmarks.rb DEV: Add missing report filter type in bookmarks report (#22616) 2023-07-18 11:07:01 +08:00
consolidated_api_requests.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
consolidated_page_views.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
consolidated_page_views_browser_detection.rb FEATURE: Switch to new methods of pageview measurement and reporting (#28729) 2024-09-10 09:51:49 +10:00
daily_engaged_users.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
dau_by_mau.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
emails.rb
flags.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
flags_status.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
likes.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
mobile_visits.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
moderator_warning_private_messages.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
moderators_activity.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
new_contributors.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
notify_moderators_private_messages.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
notify_user_private_messages.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
post_edits.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
posts.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
profile_views.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
signups.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
site_traffic.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
staff_logins.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
storage_stats.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
suspicious_logins.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
system_private_messages.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
time_to_first_response.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
top_ignored_users.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
top_referred_topics.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
top_referrers.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
top_traffic_sources.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
top_uploads.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
top_users_by_likes_received.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
top_users_by_likes_received_from_a_variety_of_people.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
top_users_by_likes_received_from_inferior_trust_level.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
topic_view_stats.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
topics.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topics_with_no_response.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
trending_search.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
trust_level_growth.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
user_flagging_ratio.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
user_to_user_private_messages.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_to_user_private_messages_with_replies.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
users_by_trust_level.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
users_by_type.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
visits.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
web_crawlers.rb DEV: Convert AdminReport component to gjs (#31011) 2025-01-29 10:33:43 +10:00
web_hook_events_daily_aggregate.rb FEATURE: Add WebHookEventsDailyAggregate report page (#27573) 2024-06-27 10:26:42 -03:00