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

Profile feed algorithm #803

Merged
merged 10 commits into from
Sep 6, 2022
Merged

Profile feed algorithm #803

merged 10 commits into from
Sep 6, 2022

Conversation

martindsq
Copy link
Member

@martindsq martindsq commented Aug 19, 2022

Fixes #790 and one task of #681
When showing the profile of a pub (that is, an identity listed as a community pub) the code uses a new OneHopFeedAlgorithm strategy object that fetches posts from the follows or from the pub (that is, the feed from the perspective of that identity).
On the other hand, if the profile is a normal user, it uses a new NoHopFeedAlgorithm that displays posts and replies.

@martindsq martindsq requested a review from mplorentz August 20, 2022 17:51
@mplorentz mplorentz merged commit 922f45f into main Sep 6, 2022
@mplorentz mplorentz deleted the profile-feed-algorithm branch September 6, 2022 18:04
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.

When showing the profile screen for a pub, show the posts of their followers instead
3 participants