-
Notifications
You must be signed in to change notification settings - Fork 331
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
[Bug]: Link of comment is the link to the parent #2401
Labels
bug
Something isn't working
Comments
snan
added a commit
to snan/lemmy-ui
that referenced
this issue
Apr 11, 2024
The same code is reused for the "show context" button as for the "link to self" button. I'm not sure that's such a good idea in the long run. For now, this commit tries to untangle two bugs caused by that. One, there was a const `parentCommentId` that was always set even when not having the `showContext` prop, causing the bug LemmyNet#2401. Second, there was a const `title` which was conditionally set but then not used, causing the title to always be "link" even when it shoulda been "show_context".
snan
added a commit
to snan/lemmy-ui
that referenced
this issue
Apr 11, 2024
The same code is reused for the "show context" button as for the "link to self" button. I'm not sure that's such a good idea in the long run. There was a const `parentCommentId` that was always set even when not having the `showContext` prop, causing the bug LemmyNet#2401.
snan
added a commit
to snan/lemmy-ui
that referenced
this issue
Apr 11, 2024
The same code is reused for the "show context" button as for the "link to self" button. I'm not sure that's such a good idea in the long run. There was a const `parentCommentId` that was always set even when not having the `showContext` prop, causing the bug LemmyNet#2401.
snan
added a commit
to snan/lemmy-ui
that referenced
this issue
Apr 11, 2024
The same code is reused for the "show context" button as for the "link to self" button. I'm not sure that's such a good idea in the long run. There was a const `parentCommentId` that was always set even when not having the `showContext` prop, causing the bug LemmyNet#2401.
snan
added a commit
to snan/lemmy-ui
that referenced
this issue
Apr 11, 2024
The same code is reused for the "show context" button as for the "link to self" button. I'm not sure that's such a good idea in the long run. There was a const `parentCommentId` that was always set even when not having the `showContext` prop, causing the bug LemmyNet#2401.
snan
added a commit
to snan/lemmy-ui
that referenced
this issue
Apr 11, 2024
The same code is reused for the "show context" button as for the "link to self" button. I'm not sure that's such a good idea in the long run. There was a const `parentCommentId` that was always set even when not having the `showContext` prop, causing the bug LemmyNet#2401.
dessalines
pushed a commit
that referenced
this issue
Apr 11, 2024
The same code is reused for the "show context" button as for the "link to self" button. I'm not sure that's such a good idea in the long run. There was a const `parentCommentId` that was always set even when not having the `showContext` prop, causing the bug #2401.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requirements
Summary
In Lemmy the link to a comment (given by the chain icon) points to the parent.
Here's an example: comment https://lemmy.ml/comment/9675721 is a top-level comment. Its reply has the same link. The reply to the reply has link https://lemmy.ml/comment/9676388 points to the parent.
(you can check the content by curl-ing the comment:
curl -L -H 'Accept: application/ld+json' https://lemmy.ml/comment/9676388
Steps to Reproduce
Technical Details
I'm not using lemmy locally, I'm seeing it on multiple instances (sh.itjust.works, jlai.lu, lemmy.ml)
Version
0.19.3
Lemmy Instance URL
lemmy.ml, sh.itjustworks, jlai.lu
The text was updated successfully, but these errors were encountered: