mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +08:00
The reviewable timeline was making an extra API call to fetch the full Post object when it only needed the created_at timestamp. This was inefficient as it loaded the entire post record with cooked content, raw content, and other attributes that weren't used. This change adds target_created_at to the reviewable serializers, allowing the frontend to access the timestamp directly from the reviewable data. |
||
|---|---|---|
| .. | ||
| components/post_voting | ||
| fabricators | ||
| lib | ||
| models | ||
| requests | ||
| serializers | ||
| system | ||
| plugin_helper.rb | ||