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

Thread Collapsing #1547

Open
8ullyMaguire opened this issue Sep 27, 2023 · 7 comments · May be fixed by #7435
Open

Thread Collapsing #1547

8ullyMaguire opened this issue Sep 27, 2023 · 7 comments · May be fixed by #7435
Labels
feature-request A request for a new feature x:planned We're on it!

Comments

@8ullyMaguire
Copy link

8ullyMaguire commented Sep 27, 2023

A thread collapsing feature could be implemented to allow users to easily navigate through comment threads by collapsing and expanding them as needed. This feature should include:

  1. A mechanism for collapsing and expanding threads, such as:
    • Clicking on the vertical line to the side of the comments, representing the thread hierarchy.
    • Clicking on a button, like an arrow icon, that toggles between an arrow pointing to the side (collapsed) and an arrow pointing down (expanded).
    • Maybe long tap for mobile.
  2. A user setting for default thread collapsing behavior, allowing users to set a nesting level threshold. This would enable users to see only the least nested comments by default while still having the option to expand threads as needed. Maybe ask which level people prefer and make it the default. I personally would set the threshold at 2.
@willhansen
Copy link

A browser addon could be a potential workaround for pc users until official implementation. (Like the reddit one)

@scottdotweb
Copy link

Just wondering if there's any update on this one, since it got labeled as planned over a year ago.

@helpimnotdrowning
Copy link

I really like the way the Boost for Lemmy/Reddit app does this, maybe it could be done in a similar way?

thread_collapse.mp4

@ablacklama
Copy link

I would really love some way to easily collapse replies. It is really what makes or breaks a good reply browsing system for me .

@himham-jak
Copy link

I really like the way the Boost for Lemmy/Reddit app does this, maybe it could be done in a similar way?

So, clicking on the body of a post should minimize it to a header containing:

  • Author (existing)
  • Datetime (existing)
  • Number of replies hidden (new)

Does replies usually include all subreplies? Like a full subthread? This could lead to massive numbers displayed. I'd imagine 30+ could be displayed for all numbers over 29, similar to notifications.

Should it also show:

  • Number of likes?
  • Number of reposts?

@helpimnotdrowning
Copy link

It will show up to 7 replies deep (parent on 0th level, then 7 replies), and will then show a "x more replies" button in the form of a reply,
image

which opens a seperate page containing the rest of the replies in the thread (with more "x more replies" buttons as needed)
image

The "x" in the button counts all replies and their children; this departs from what Twitter and Blusky seem to do when showing the reply count to a post, where it only counts top-level replies and disregards children. See this post, where the comment icon is "1" (as of now), but there are clearly more, just within children replies.
image

I personally don't see a reason to show like/retweet counts on collapsed posts, but I can see how people might expect that to be there & I can't really see a reason to not be present.

X1Vi added a commit to X1Vi/social-app that referenced this issue Jan 12, 2025
@X1Vi X1Vi linked a pull request Jan 12, 2025 that will close this issue
@X1Vi
Copy link

X1Vi commented Jan 12, 2025

@scottdotweb I have made a solution check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature x:planned We're on it!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants