discourse/lib/discourse_dev
Alan Guo Xiang Tan 4b3d0a778c
DEV: Add admin_dashboard:populate rake task to seed Site Traffic (#39775)
The Site Traffic chart on `/admin/dashboard` is blank in fresh dev
environments because `application_requests` starts empty, leaving
nothing to design or QA against.

This commit adds an `admin_dashboard:populate` rake task that backfills
realistic daily rows across the relevant `req_type` values, with
weekday/weekend shape and occasional spikes so the chart renders
meaningful data. Tunables live in `config/dev_defaults.yml`, and the
task is safe to re-run.
2026-05-06 12:07:47 +08:00
..
application_request.rb DEV: Add admin_dashboard:populate rake task to seed Site Traffic (#39775) 2026-05-06 12:07:47 +08:00
category.rb
config.rb FEATURE: Add option to hide full name input at signup (#30471) 2024-12-30 22:26:20 +03:00
email_log.rb DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
group.rb
post.rb
post_revision.rb
record.rb DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
reviewable.rb DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
reviewable_flagged_post.rb DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
reviewable_post.rb DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
reviewable_queued_post.rb DEV: Populate all subtypes of ReviewableQueuedPost (#30663) 2025-01-09 17:41:11 +03:00
reviewable_user.rb DEV: Limit dev reviewable seeding to unapproved users (#35676) 2025-10-29 16:00:34 +08:00
tag.rb DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
topic.rb DEV: Fix sidekiq requires in test env 2025-07-22 12:40:57 +02:00
user.rb