github issue body has no id, so the link to the issue body is broken #197406
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
Body
when i want to link to a comment in a github issue
i go to the comment header
right-click on the date, and "copy link address"
example:
https://github.com/octocat/Hello-World/issues/1347#issuecomment-1081119451octocat/Hello-World#1347 (comment)
the link target
issuecomment-1081119451is the first comment in that issueproblem
the same solution does not work for the issue body
so i cannot link to the issue body
when i try the same with the issue body
(use the link from the issue date)
then i get a broken link:
https://github.com/octocat/Hello-World/issues/1347#issue-1039325228octocat/Hello-World#1347 (comment)
because no element has the id
issue-1039325228comments have ids like
<div id="issuecomment-1081119451"but the issue body has no id
<div class="IssueBodyHeader-module__IssueBodyHeaderContainer__SrDB7 ...expected
the issue body should have an id like
<div id="issue-1039325228"workaround
link to
<div id="start-of-content" class="show-on-focus"></div>example:
https://github.com/octocat/Hello-World/issues/1347#start-of-contentoctocat/Hello-World#1347 (comment)
"content" includes the issue title like
Yellow ! #1347which is ok for my use case
(i want to link from a comment to the issue body)
Beta Was this translation helpful? Give feedback.
All reactions