joshfarrant / slack-clicky

#Clicky is a Chrome Extension which lets you share links to Slack in a single click!
https://chrome.google.com/webstore/detail/clicky-for-slack/bllgmdlgbbmijcoecbnmgeoekhebgmac
MIT License
53 stars 15 forks source link

Suggestion: Allow to attach page title #6

Open ehausen opened 8 years ago

joshfarrant commented 8 years ago

What are your thoughts on the benefits of this? Slack auto-expands links inline within the chat, which then includes the page title amongst other <meta> information provided by the page.

image

I'd be happy to look into implementing this if there's a genuine use case.

ehausen commented 8 years ago

Sorry for being so brief, was in a hurry.

If I post a link to a page that is not publicly accessible, Slack cannot auto-expand the link. For example an issue page in Jira. Just posting http://example.com/issue-123 is not descriptive, but "This is a test issue" http://example.com/issue-123 is much better

joshfarrant commented 8 years ago

No problem - That does make sense, my only concern is whether it's worth implementing this as a default as it will cause all links that are publicly accessible to show the page title twice, once in the message body, once in the expanded link, which may be irritating for the majority of #Clickys which are publicly accessible.

I may implement this as an opt-in preference then, similar to Remove link when sending from right click menu in the settings menu.

Leave it with me, I'll update here with any more info.

joshfarrant commented 7 years ago

Only way I can think to implement this would be as an opt-in preference that would apply to all sent #Clickys, as there's no way to know when generating the #Clicky whether or not Slack will be able to expand the link.