Githawk: Add share option to comments

Created on 23 Sep 2017  Β·  9Comments  Β·  Source: GitHawkApp/GitHawk

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

πŸ†• feature request low priority

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! πŸ˜‚

All 9 comments

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 πŸ˜‚

Amazing

πŸ₯‡πŸŽ–πŸ…

Sent with GitHawk

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! πŸ˜‚

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BasThomas picture BasThomas  Β·  3Comments

Iron-Ham picture Iron-Ham  Β·  3Comments

rnystrom picture rnystrom  Β·  3Comments

BasThomas picture BasThomas  Β·  3Comments

rnystrom picture rnystrom  Β·  3Comments