User-generated content feed for moderators#3402
Open
TylerDiorio wants to merge 4 commits intomainfrom
Open
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
❌ The last analysis has failed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3402 +/- ##
==========================================
+ Coverage 79.32% 79.43% +0.10%
==========================================
Files 634 634
Lines 36477 36643 +166
==========================================
+ Hits 28937 29106 +169
+ Misses 7540 7537 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yattias
reviewed
May 2, 2026
| page = self.paginate_queryset(queryset) | ||
| serializer = self.get_serializer(page, many=True) | ||
| response = self.get_paginated_response(serializer.data) | ||
| self.add_user_votes_to_response(request.user, response.data) |
Contributor
There was a problem hiding this comment.
Let's skip this part. I think we can do it safely
yattias
reviewed
May 2, 2026
| @action( | ||
| detail=False, | ||
| methods=["get"], | ||
| url_path="user_generated", |
Contributor
There was a problem hiding this comment.
I don't think we need this actually
yattias
approved these changes
May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
GET /api/feed/user_generated/— a moderator-only feed of entries with a non-null user, so we can have a feed of all content being generated on the site.