Skip to content

dkoes/slackfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

slackfix

Hacks to make slack more usable. Contributions gratefully accepted. See extended discussion at this gist. Here is a reddit post describing how to make this permanent on Linux (I don't think it can be done on Mac since the app is signed).

Installing Hacks

Copy and paste the code into the dev console (run /slackdevtools to open the console or set the SLACK_DEVELOPER_MENU environment variable to TRUE so you can right click on elements). You will need to do this everytime you start slack or when slack does a full reload.

merge.js

image

Removes the activity tab and merges it with the workspace switcher. You can still hide/show the workspace switcher (which now contains the activity tab and the account control panel). If you don't have enough vertical space to show all your workspaces you can scroll, but there is no visual indicator that content is hidden.

Ideas for Improvement

  • Better indicator that there are hidden workspaces that you can scroll to (dynamically adjust spacing first?)
  • Labels are hidden on activities, but will come back if you resize the window.

button.js

image

Add a button to show/hide activity tab. This button floats on top of the workspace switcher and won't play nicely with the interface when the workspace switcher isn't open. Note: I use merge.js so this hack is unlikely to get updated to address slack changes.

The activity tab is mostly empty space and consumes valuable screen real estate (especially if you run slack on a vertical monitor). However, it is rarely needed (mostly to clear activity notification) so there is no harm in hiding it most the time.

The code tries to reinsert itself when slack modifies its interface, but if you need to recreate the button, simply open the dev console again and hit the up arrow.

Ideas for Improvement

  • Clean up code (e.g., get rid of global variables)
  • Properly set size of workspace switcher so it won't overlap buttons if not enough vertical room.
  • Better icon (I just stole an existing asset)
  • Play nicer when the workspace switch isn't open (never true for me)

About

Hacks to make slack more usable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published