Repository navigation
fix(feed): only show LinkedIn posts that mention Dev Weekends - #85
Merged
Merged
Conversation
Search snippets can quote text from around a post (the author's headline, comments, other posts), so some posts that never mention Dev Weekends reached /feed. - New posts from search are checked against their public LinkedIn embed. They go live only when the post's own text mentions Dev Weekends. Posts without a mention are kept hidden with the reason, deleted posts are skipped, and posts LinkedIn won't load wait in Pending review. - "Check live posts" in the admin runs the same check on posts already live from the starter list and search, and hides the ones that fail. Admin-added and admin-approved posts are left alone. - Remove 3 starter posts that don't mention Dev Weekends. 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.
Why
Some posts on /feed never mention Dev Weekends, for example Arslan's Redis post. Search results were trusted when their snippet mentioned Dev Weekends, but snippets can quote text from around the post: the author's headline, comments, or other posts on the page.
What changes
Testing
tscandnext lintpass.After merging
Open Admin → Community Feed and click Check live posts. It takes about a minute and should hide 18 posts.
🤖 Generated with Claude Code