mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-13 03:35:58 +08:00
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. |
||
|---|---|---|
| .. | ||
| application_request.rb | ||
| category.rb | ||
| config.rb | ||
| email_log.rb | ||
| group.rb | ||
| post.rb | ||
| post_revision.rb | ||
| record.rb | ||
| reviewable.rb | ||
| reviewable_flagged_post.rb | ||
| reviewable_post.rb | ||
| reviewable_queued_post.rb | ||
| reviewable_user.rb | ||
| tag.rb | ||
| topic.rb | ||
| user.rb | ||