mirror of
https://github.com/discourse/discourse.git
synced 2026-08-12 02:52:01 +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. |
||
|---|---|---|
| .. | ||
| page_objects/pages | ||
| core_features_spec.rb | ||
| post_voting_spec.rb | ||
| viewing_reviewable_spec.rb | ||