If you are using slack > 0.0.2 and slackclient > 0.36.2, try this instead: from import WebClient. (Those instructions (from that readme.md) are for version 2.5.1, but I found with Slack version 3.1.0 that ssb-interop.js is actually the file that needs to be edited.) And in the " " URL I changed " /widget-/" to " /ViktorQvarfordt/", because personally I like that slightly different css better. there seems to be a conflict between slack versions and imports. Easily search a central knowledge base that automatically indexes and archives your team’s past conversations and files. Integrate into your workflow, the tools and services you already use including Google Drive, Salesforce, Dropbox, Asana, Twitter, Zendesk, and more.
I copied the code from into that ssb-interop.js file. Share and edit documents and collaborate with the right people all in Slack.
Once the download finishes, click Run to start installing Dropbox. You can check the path of this directory by running: python3 -c 'from slackcli.token import CONFIGROOT print (CONFIGROOT)' This directory can be modified by setting the SLACKCLICONFIGROOT environment variable. rw-r-r- 1 root wheel 2952 Apr 4 12:35 Contents/Resources//src/static/ssb-interop.jsīut I opened Finder, clicked Applications, right-click Slack, Show Package Contents, browse to Contents/Resources//src/static/ and then I edited the ssb-interop.js file. Your Dropbox download should automatically start within seconds. The slack-cli configuration is stored in a generic configuration directory by default, this is /.config/slack-cli on Linux. after all, because I found a way to edit a Slack *.js file:īefore I gave up when it looked like only root can edit the file: $ ls -l Contents/Resources//src/static/ssb-interop.js though it turns out that isn't needed, because I don't need to do step 3.
I created the following on my Mac (so this env var is always exported).: $ cat /etc/nf This release includes security improvements. Slack cannot have a little web page, even as a treat.
UPDATE: fyi a co-worker helped me solve this: Some external URLs were occasionally launching within the Slack app window, but will now load in your default web browser, as is proper. As you can see by the following screenshot, for the most part Slack looks good, except the name of the room is missing (where I have the red arrow pointing to the circled area).Īnd more importantly than the room name being invisible in that one spot, I'd be all ears if anyone has any ideas how I can automate this (so the dark theme remains in place even after re-starting the Slack app on my Mac).Īny suggestions would be greatly appreciated. I used the workaround described by this comment. I went through the 5 steps in this Theming-Slack-OSX.md file (for step 2. I don't have root nor sudo access on my Mac, so the solutions that involve editing a *.js file in /Applications/Slack.app/Contents/Resources/ aren't options for me.Ĭan someone please tell me is there any other option (that is known to be currently working)? I have the Slack app (Version 3.1.0) on my Mac. Using ajax rather than a dynamically injected, to account for sites (like ) that don't serve // a content-type for CSS files var cssURI = '' $.