cheeaun / cheeaun/phanpy

properly display thread context for lemmy posts (and perhaps group them together to be less noisy)

Open
#865 0 comments 0 reactions 0 assignees View on GitHub
enhancement lemmy
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Is your feature request related to a problem? Please describe.**
If you follow a community in Lemmy (see #314 for how to follow a lemmy group), not only will every single post show up in your timeline (which is good)...

![Screenshot from 2024-10-10 18-19-06](https://github.com/user-attachments/assets/0870f2de-1355-4d83-b2c6-173e9cb61919)

But also every single comment to every single post will show up in a way that's completely out of context (which is bad):

![Screenshot from 2024-10-10 18-20-18](https://github.com/user-attachments/assets/68dff9af-31ff-413f-bccc-923ed2847e75)

Phanpy at least shows that those two are from the Selfhosted group, but doesn't show what post it's responding to or any other context for the messages unless you click on it:

![Screenshot from 2024-10-10 18-22-05](https://github.com/user-attachments/assets/013dcc32-53a7-401e-933c-f5415323b526)

**Describe the solution you'd like**

It would be nice if, at the very least, Phanpy shows that it's part of a thread (with the original group post at the top, and then the thread of responses below that) the same way that normal mastodon toots in a thread are displayed. Ideally, if there are multiple responses at the same time, they are grouped together in the thread so that a user's timeline isn't overwhelmed.

**Describe alternatives you've considered**
An even better option might be for the group to be displayed horizontally, similar to the boosts carousel. I don't know how feasible that is, but especially for a busy community (try @selfhosted@lemmy.world for example) it would be nice. Alternatively, _only_ show the original group post in the timeline, and then click on it to view responses.

**Additional context**
Related to #860 , this would improve lemmy integration. I haven't seen any truly active kbin or similar communities, so I haven't looked into how phanpy integrates with those.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing Lemmy integration referenced by #314 and the related issue #860. Compare how Lemmy posts and comments currently appear in the timeline, then define the chosen grouping and context behavior; done means responses show their originating post or thread without overwhelming the timeline.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.