Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A way to open up Slack Search UI (in a browser) from a URL

I was trying to see if there was a way to open up the new Slack Search UI, in a browser, from a URL.

For example, in Microsoft Teams, you can open up the following link https://teams.microsoft.com/_#/apps/a2da8768-95d5-419e-9441-3b539865b118/search?q=yourQueryHere in a new tab, and it would open up your Teams and open up the search UI with yourQueryHere results already listed.

Is there something similar for Slack? So far I do not believe it is possible because Slack does not have routes for search pages.

Let's say we are here: https://company.slack.com/messages/channelId/. We then type something in the search bar and press search. The URL stays constant.

Note that Slack seems (?) to have deeplinking for search (slack://) according to their docs, but there are no examples (I tried slack://search/hello, slack://search).

like image 439
Chau Avatar asked Jul 26 '18 15:07

Chau


People also ask

How do I open Slack in browser?

From your browser, visit https://slack.com/signin. Enter your email address, then click Sign In with Email. Check your email for a confirmation code from Slack and enter it. If single sign-on (SSO) is required for your workspace or org, authenticate with your company's SSO provider to finish signing in.

How do I search for a link in Slack?

Start a searchClick the search field at the top of Slack. Below the search field, select the type of results you want: messages, files, people, or channels. Type what you're looking for into the search field. To narrow your search, you can include modifiers (read more about modifiers in the section below).


2 Answers

I had the same question for Slack support earlier - it looks like they removed Slack deep search linking via the slack://search URL after they released their new search functionality:

I am sorry to report that we currently do not support search deep linking at the moment. We previously did but it needed to be removed while our improved search was being worked on and released.

The docs you linked to used to have a better description further up the page about how to use this deep link and the required syntax. It looks like the example workflows section you link to is a remnant of that.

I am really sorry that the docs mislead you. I will contact the API docs team and ask them to remove those references. Hopefully in the future we can reinstate this ability once again.

like image 100
Adil B Avatar answered Sep 27 '22 20:09

Adil B


I'm afraid to say that there's no way at the moment to do what you describe, but it's a pretty cool idea! I'm not sure how we could cleanly manage such a change in light of our recent adjustments to the search UI (it's not in the side pane anymore!), but I'll pass your desire for such a thing along to the rest of the team here. Thanks for writing in about this! Please let me know if you happen to think of anything similar you'd like to see changed or added to the app, and I'll be happy to make sure the right folks hear about it.

I've sent a message to the Slack team, and they've responded extremely fast. Unfortunately, there is no way at the moment.

like image 29
Chau Avatar answered Sep 27 '22 20:09

Chau