Skip to content

User-generated content feed for moderators#3402

Open
TylerDiorio wants to merge 4 commits intomainfrom
moderator
Open

User-generated content feed for moderators#3402
TylerDiorio wants to merge 4 commits intomainfrom
moderator

Conversation

@TylerDiorio
Copy link
Copy Markdown
Contributor

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.

@TylerDiorio TylerDiorio requested a review from a team as a code owner April 30, 2026 17:31
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@TylerDiorio TylerDiorio changed the title Moderator User-generated content feed for moderators Apr 30, 2026
@sonarqubecloud
Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.43%. Comparing base (c9f179c) to head (c57f8a3).
⚠️ Report is 20 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's skip this part. I think we can do it safely

@action(
detail=False,
methods=["get"],
url_path="user_generated",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this actually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants