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

Feat: threads in following #653

Merged
merged 4 commits into from
Sep 21, 2024
Merged

Feat: threads in following #653

merged 4 commits into from
Sep 21, 2024

Conversation

MrPunyapal
Copy link
Collaborator

Following Feed Logic for Displaying Posts and Comments

The feed will primarily display posts and comments from users that the current user is following, or from the current user themselves. Here's a breakdown of how posts and comments are shown:

  1. Posts by Following Users (or Self):

    • If the root post (main post) is by a user the current user is following, it will be displayed in the feed.
  2. Comments on Posts:

    • If a post (root) is not by a following user, but the parent (comment) is by a following user, only the comment and parent will be shown, not the original post.
    • If the root post is by a following user and the comment (parent) is not, only the root post and the comment will be displayed.
    • If both the root post and the parent comment are by users the current user is not following, neither will be shown.
20240921-1334-51.7443820.mp4

@nunomaduro nunomaduro merged commit 39067e6 into main Sep 21, 2024
@nunomaduro nunomaduro deleted the feat/threads-in-following branch September 21, 2024 17:38
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