-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
optimizationO(n^whoops)O(n^whoops)
Description
Severity / Priority
- Low
- Medium
- High
- Critical
Expected Behavior
The content preview endpoints such as feed, should return only the fields required for the preview.
Current Behavior
The feed endpoint currently returns unnecessary data, including:
- Full article content
- Article tags/categories (with followers, isFollowing)
- Article author details (followers, followings, isFollowing, created_at)
- Article sources
- Article reacts (likes, dislikes, comments, isLiked, isDisliked, isSaved)
- Article actions (canUpdate, canDelete)
These fields are not used on the front-end and should be excluded from the preview response.
Possible Solution
Create new Data for preview or filter current data
Metadata
Metadata
Assignees
Labels
optimizationO(n^whoops)O(n^whoops)