Skip to content

Conversation

@lcomplete
Copy link
Owner

Summary

  • Add configurable minimum likes threshold for tweet auto-save in browser extension
  • Implement server-side filtering based on likes count
  • Ensure TwitterUserSetting rules take precedence over likes filter

Changes

Extension

  • Add "Minimum likes" input field in settings UI
  • Store autoSaveTweetMinLikes in extension storage
  • Pass minLikes parameter to backend API
  • Remove unused auto-save score/length settings for web pages

Backend

  • Add minLikes field to InterceptTweets DTO
  • Refactor TweetParser to return ParsedTweetPage with tweet metadata
  • Update TweetPageCaptureEvent to carry minLikes and favoriteCount
  • Implement likes filtering in CapturePageService.saveTweetPage()
  • Skip tweets below threshold unless they match a TwitterUserSetting rule

Test plan

  • Verify extension settings UI shows minimum likes input field
  • Test with minLikes = 0 (all tweets saved)
  • Test with minLikes = 10 (only tweets with 10+ likes saved)
  • Verify TwitterUserSetting rules override minLikes filter
  • Check that tweet metadata is correctly parsed and passed through

🤖 Generated with Claude Code

lcomplete and others added 2 commits January 23, 2026 01:19
Add configurable minimum likes threshold for tweet auto-save functionality.
Users can now set a minimum likes count in extension settings to filter which
tweets are automatically saved. Tweets matching TwitterUserSetting rules are
always saved regardless of likes count.

Changes:
- Add minLikes parameter to extension settings UI and storage
- Pass minLikes from extension to backend API
- Implement likes filtering in CapturePageService
- Skip tweets below threshold unless they match user-specific save rules
- Refactor TweetParser to return ParsedTweetPage with metadata
- Update event handling to pass likes data through the chain

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@augmentcode
Copy link

augmentcode bot commented Jan 23, 2026

🤖 Augment PR Summary

Summary: Adds a configurable minimum-like threshold for tweet auto-save and threads likes metadata through the backend so low-engagement tweets can be skipped.

Changes:

  • Extension: adds a Minimum likes setting, persists it in sync storage, and includes minLikes in the tweet auto-save payload.
  • Extension: removes unused readability score/length settings for web-page auto-save and uses fixed readability thresholds.
  • Backend: extends InterceptTweets with minLikes and introduces ParsedTweetPage to carry both Page and TweetProperties.
  • Backend: refactors TweetParser to return parsed pages + metadata (including favorite count).
  • Backend: updates tweet capture events to include minLikes and applies likes-based filtering in CapturePageService.saveTweetPage(), while allowing configured TwitterUserSetting rules to override filtering.
  • UI: uses a portal while dragging in settings lists to improve drag UX.

Technical Notes: Filtering is applied server-side using parsed tweet favorite counts; tweets matching explicit per-user rules are saved regardless of likes.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. 4 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@lcomplete lcomplete merged commit 96725ce into main Jan 23, 2026
1 check passed
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.

1 participant