linen.dev icon indicating copy to clipboard operation
linen.dev copied to clipboard

Convert Slack links in to Linen Links

Open cheeseblubber opened this issue 4 years ago • 8 comments

When someone syncs Slack conversations into Linen it is useful to have the links be converted in to Linen URLs. Slack has a 90 day retention so if someone clicks on a link to Slack archive often times it disappears

cheeseblubber avatar Oct 20 '22 13:10 cheeseblubber

Bump on this! This would be super, super helpful to have.

erinkcochran87 avatar May 18 '23 20:05 erinkcochran87

I see this was marked as completed, but no PR is referenced, nor is there a changelog. The URLs I see between Slack and Linen also don't look any different - am I missing something?

erinkcochran87 avatar May 31 '23 17:05 erinkcochran87

hey @erinkcochran87, thanks for checking. I think that @cheeseblubber was just cleaning up issues and marked this as done by accident. We definitely want to build this out :). We even discussed this like a week ago.

emilos avatar Jun 01 '23 08:06 emilos

@erinkcochran87 Sorry about that was doing a Github issues cleaning purge. We're working on a big release coming up this week and will reprioritize it. Most likely we'll do this next week!

cheeseblubber avatar Jun 01 '23 12:06 cheeseblubber

Oh gosh, that's absolutely excellent! Thank you so much! <3

erinkcochran87 avatar Jun 01 '23 16:06 erinkcochran87

hey @erinkcochran87, it took us a while to get to it, but I just merged the first version here. I've been testing this out in few communities and seems to work OK, but linking is tricky so I would highly appreciate if you could test it out on your end too.

For now, when you click, we'll try to detect if the thread is on our end already, and if it is, you're going to stay within linen vs going to the archived link, which can be broken due to the 90 day limit and/or other reasons.

Replacing the link is probably the long term way to go, but it's tricky for subdomains as subdomains can change in the future. We'll try to figure out best approach, at least for now old content will not get lost and will be linkable.

Thanks!

emilos avatar Jun 27 '23 10:06 emilos

@emilos Wow, thanks so much! Just let my teammate (who implemented this for us) know about this. She'll be OOO for the next few weeks, but I'll try to give it a spin in the mean time. Thanks again for the response 🔥

erinkcochran87 avatar Jun 27 '23 16:06 erinkcochran87

@erinkcochran87 thanks! looking forward to the feedback :) I'll close the issue for now then just to keep things clean.

emilos avatar Jun 28 '23 14:06 emilos