Version 1.10.0 (1899)
Device: iPad Pro (iOS 11.0)
When we add the βMore Optionsβ to comments, we should the ability to share specific comment urls
Sadly the IssueComment Object doesn't include the comment number (linkable id) nor the resource URL π
Whaaaaa π That feels like an oversight if I've ever seen one
@rnystrom Okay clutching at straws here but you can get the "ID" which is a base64 encoded string which formats like this:
012:IssueComment331668957
Tada, the number at the end is the Issue Comment ID we can use to link π
Super roundabout but yh...
query {
repository(owner: "rnystrom", name: "githawk") {
issue(number: 393) {
timeline(first: 20) {
nodes {
... on IssueComment {
id
}
}
}
}
}
}
@Sherlouk omg! If this is true then you're my hero! The v3 notifications API has the comment # on it, so we could actually scroll to the new comment!!
Also how the hell did you figure this out??
I have a weird obsession of detecting Base64 strings and wanting to decode them to see what they say π
The same weird obsession that means I can read binary code
but yaaaas if we can scroll to correct message! card it up!
edit// oh there's also the databaseId it's deprecated but it gives us the number straight up with no games π€
Also I've become your hero twice this week, I'm on a roll π
Omg, amazing @Sherlouk π
https://platform.github.community/t/enable-getting-comment-url/3943/2
Look at these jokers doing it the easy way π No fun! π
Most helpful comment
https://platform.github.community/t/enable-getting-comment-url/3943/2
Look at these jokers doing it the easy way π No fun! π