Skip to content

Show more comment context (context=3) #3032

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

Open
3 tasks done
naught101 opened this issue Mar 28, 2025 · 2 comments
Open
3 tasks done

Show more comment context (context=3) #3032

naught101 opened this issue Mar 28, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@naught101
Copy link

Requirements

  • This is a feature request and not a bug report. Otherwise, please create a new bug report instead.
  • Please check to see if this request (or a similar one) already exists.
  • It's a single feature. Please don't request multiple features in one issue.

Describe the feature you'd like

If I go to my inbox, I often see comments that don't make sense because I don't have context. If I click the "show context" button, then I get sent to the parent comment (i.e. my comment), but often even that doesn't have enough context, so I have to click "show context" again (and sometimes a 3rd time) before I remember WTF is going on.

old.reddit had a nifty feature that was a URL argument like ?context=3, which would show the comment (with a highlight), plus the (up to) three parent comments. Like this: https://old.reddit.com/r/AusPol/comments/1jl0jhm/what_the_hell_happened_to_the_liberals_this/mk2n2ii/?context=3

In the inbox, it also has an explicit "show context" button on comments, which defaults to context=3, which is perfect, IMO.

This would be great to have on Lemmy. Making it a URL argument is nice too, because it lets you share a specific comment with a custom amount of context, whcih can be useful sometimes.

As a side quest for this feature, the UI for comments in the inbox currently has a 🔗 button at two places, one after the post title, and one at the bottom. They BOTH link to the comment's parent. I think the top one should link to the comment itself, and the bottom one should link to context=3.

So 3 main components:

  • Implement context=3 as a URL argument
  • Change the "show context" link to point to the comment URL with context=3 by default
  • Change the link at the top of comments in the inbox to just link to the comment URL
@naught101 naught101 added the enhancement New feature or request label Mar 28, 2025
@dessalines
Copy link
Member

I don't have time to add this, but someone else can.

@tgrub2
Copy link

tgrub2 commented Mar 29, 2025

I'm on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants