Skip to content
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

Unfurl: private links #52

Closed
4 of 6 tasks
bkeepers opened this issue Oct 24, 2017 · 31 comments
Closed
4 of 6 tasks

Unfurl: private links #52

bkeepers opened this issue Oct 24, 2017 · 31 comments

Comments

@bkeepers
Copy link
Contributor

bkeepers commented Oct 24, 2017

A user sees an ephemeral prompt to verify that the private link should be unfurled (always, this time, never)
A user sees an unfurl of a private link.

Estimate: 2 weeks

Private unfurls are available via EARLY ACCESS

Read through this comment to find out how to get early access: #52 (comment)

Road to private unfurls

Things that need to be done before general availability:

@bkeepers bkeepers added this to the Staff Ship milestone Oct 24, 2017
@bkeepers bkeepers modified the milestones: Staff Ship, Private Beta Nov 28, 2017
@bkeepers bkeepers modified the milestones: Private Beta, Public Launch Jan 8, 2018
@bkeepers bkeepers added MUST and removed SHOULD labels Jan 8, 2018
@bkeepers
Copy link
Contributor Author

bkeepers commented Jan 8, 2018

Re-prioritizing as MUST (provided #53) based on our brief conversations about this last week.

@bkeepers bkeepers removed this from the Feature Freeze milestone Feb 8, 2018
@bkeepers
Copy link
Contributor Author

bkeepers commented Feb 9, 2018

@wilhelmklopp as we briefly discussed today, I don't think we're going to have time to get to this, so removing milestone for now. If we happen to have some free time next week we can revisit and get this deployed.

@olivierlacan
Copy link

olivierlacan commented Feb 26, 2018

I was a bit surprised when after subscribing a channel to a private repo, private URLs to code from that same repo weren't unfurled. That seemed like what this suggested:

image

It seems like until this feature is developed, the site should be updated to say "Public code snippets" to clarify. I wouldn't surprised if a lot of people made the same assumption I did and show up here to complain. 😄

Update: I didn't see any unfurling issue reported on https://status.slack.com/ at the time of this issue. And as a sidenote, repo commit notifications work fine in the channels I tested.

@brennaheaps
Copy link

@olivierlacan Hi! 👋

@bkeepers
Copy link
Contributor Author

Thanks @olivierlacan. The copy did say "public" at one point, but it must have gotten dropped in one of the iterations.

Private unfurls are coming very soon.

@krumware
Copy link

+1 for confusing language, expected private repos to work.
Regardless, excited about this coming feature, thanks folks!

@bradical
Copy link

I had a question about how this will ultimately function. Will Private Repository unfurls depend on being subscribed to that repository in the channel or will it just use the perms of the authorizing user to determine access to the URL and could use any URL for any repo regardless of channel subscriptions?

@wilhelmklopp
Copy link
Contributor

Will Private Repository unfurls depend on being subscribed to that repository in the channel or will it just use the perms of the authorizing user to determine access to the URL and could use any URL for any repo regardless of channel subscriptions?

It will most likely be based on the access of the user who posts the link. So any URL for any repo will work, but there may be an additional step where you need to confirm that you do want the link unfurled.

@bradical
Copy link

bradical commented Mar 1, 2018 via email

@micahstubbs
Copy link

this would be incredibly useful. can't wait for this feature to land

@kooshywoosh
Copy link

kooshywoosh commented Mar 6, 2018

+1 Looking forward to this as well

@micahstubbs
Copy link

would really like to see this land soon. is there anything that the community can do to help?

@deybhayden
Copy link

#522 looks to have been opened in the past 24 hours

@donbecker
Copy link

The PR referenced here was merged, has this been fixed/released?

@micahstubbs
Copy link

micahstubbs commented May 7, 2018

just tested this by pasting a private repo PR link into a slack channel with the github integration enabled. no unfurl for me, so doesn't seem to have been released widely yet.

hopefully it will be 🚢'd soon

@wilhelmklopp
Copy link
Contributor

wilhelmklopp commented May 8, 2018

Early Access for Private Unfurls

show rich preview

Hey folks 👋
We're ready to open up the early access for private unfurls to anyone who is interested
@olivierlacan @krumware @bradical @micahstubbs @deybhayden @donbecker

What you need to do to be included

  1. Agree to the pre-release agreement
  2. Decided whether you want your entire Slack workspace early access enabled or only one channel
  3. Provide us with your slack user id and either your team id or your channel id and contact support using this template
    • You can find out your Slack channel or team id using /github debug
  4. We'll confirm via email when you're added
  5. Post a private link in Slack and see it in action 🎉

Feedback

Have feedback for private unfurls? Thoughts on how it could be improved? We'd love to hear them! Please post feedback in this issue: #507

@bradical
Copy link

bradical commented May 8, 2018

Awesome! Excited!

@krumware
Copy link

krumware commented May 8, 2018

Thanks!!

@borekb
Copy link

borekb commented May 22, 2018

Is this still invite / early access only? This announcement makes it sound like the feature is generally available but I'm not getting private repo previews even after removing and re-adding GitHub integration.

@rmccue
Copy link

rmccue commented May 22, 2018

@borekb You may need to /invite @github to the room as well.

@borekb
Copy link

borekb commented May 22, 2018

I didn't realize I also need to enable access on GitHub's end; if only I read READMEs 🤦‍♂️ .

@wilhelmklopp
Copy link
Contributor

As of last week, private unfurls are now generally available!

Thanks for your participation and feedback ✨

@iDVB
Copy link

iDVB commented Jun 26, 2018

@wilhelmklopp "generally available" meaning we need to follow the pre-release steps above or need only approve the default app?

I've only just approved the default app and /github subscribe blah/blah in our channel and we are not getting private unfurls. Which is how my googling brought me here.

@wilhelmklopp
Copy link
Contributor

@iDVB that's correct. This should work automatically now. Could you double check that you're not encountering any of the things mentioned here and then write in at https://github.com/contact with the details of the problem you're seeing?

@billybooth
Copy link

Just to be clear, we should not be seeing unfurling for private commit links, correct? Are there any plans to support that? Rich link previews are behaving as expected for files, pull requests, etc. I thought this functionality was not behaving correctly, but I was using commit links to test. Thanks for your work on this. It's hugely beneficial to our team!

@wilhelmklopp
Copy link
Contributor

Hey!

Yep, that's correct. We don't have previews for commit links yet. If this is something you want to work on, we'd be more than happy to accept that contribution :)

@lacostenycoder
Copy link

How do set up unfurl links to github issues on private repos???

@billybooth
Copy link

Basically just set up the integration using the instructions in the readme, sign in to GitHub via the integration as a user with access to the private repo, and attempt to post a link and unfurl it when prompted. IIRC, you’ll be redirected to GitHub and prompted to grant access to your repo. It’s pretty self-explanatory if you just try it.

@lacostenycoder
Copy link

@billybooth I did all of the above. We had had a github slack app installed for over 2 years. But I did the steps anyway. Still no unfurl. It works, and already did, with public repos. What am I missing?

@lacostenycoder
Copy link

Figured it out... it was a bit tricky, but I hacked it! LOL

@ninja-
Copy link

ninja- commented Jun 23, 2019

any plans for mattermost integration?

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

No branches or pull requests