Repository navigation
Review of Post suggestions (#115) - #127
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #115, part of spec #110 (Social media posts).
What's new
GET /api/post-suggestions?mine=true.post_ai.text_problems: title 1–80 characters, caption at most 1100, the Fixed hashtags plus 1–3 others, at most 2 emoji.refused, meaning no post for that Project that Upload week. The team sees "Not posted on social media this week: …" under its earlier weeks (suggestion_stateandrefusal_reasonon the Weekly update answers).generating, tries and reason are cleared, and one try runs straight away in a background task (suggestions.attempt_now). The page checks again every 5 s while a suggestion is being written.failedsuggestion makes itwaiting, with the ranking filled from the week's media.0024:post_suggestions.reviewed_by_id(SET NULL),reviewed_at,refusal_reason.review_page.py;social_page.media_gridis shared.Tests
test_review.pycovers:test_review.pycovers:🤖 Generated with Claude Code