Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight replies from friends (Gina) #40

Closed
ginatrapani opened this issue Feb 18, 2010 · 1 comment
Closed

Highlight replies from friends (Gina) #40

ginatrapani opened this issue Feb 18, 2010 · 1 comment

Comments

@ginatrapani
Copy link
Member

In a post's reply listing, show replies by friends of the original poster first, then sort by follower count. This will require new fields in the tt_posts table, and is dependent on Issue #124.

Plan of Action:

  • Add two int fields to tt_posts: is_reply_by_friend and is_retweet_by_friend, with values 0 or 1.
  • Before a reply or a retweet is inserted into the database, set each value via a new boolean FollowDAO::isUserFriendOfAuthor($author_id, $user_id) method.
  • Sort all reply and retweet listing by is_reply/retweet_by_friend first, then by follower count
  • Highlight the replies and retweets which are by friends of the original poster.
@ginatrapani
Copy link
Member Author

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant