-
Notifications
You must be signed in to change notification settings - Fork 13
Conversation
This adds the ability to turn on category specific channels, which can be specified in the category settings when the setting is enabled. If the category does not have a specific channel set, it falls back to the parent category if there is one, otherwise it just uses the global channel specified in the settings.
Thanks for the PR! I just asked in #6 if this would cover the use case. |
Cool, let me know if you want me to clean anything up, I am a complete n00b at Ruby so it's probably not idiomatic. 😞 |
This looks pretty useful! However, it'd be nice if we could have the ability to set next if channel.empty? I'm not familiar with Discourse plugins, but that should work if it's built on Ruby on Rails. Otherwise, you'll want to do |
I was actually thinking about this, except by having a checkbox in the UI so it is more obvious to the user. (would also disable text input where you put the channel/user name) |
FWIW I'm using this PR with @richardxia's I also added the post category name to the slack post title, but my use case is kind of specific: I'm only sending a subset of my categories to one channel (for example I'm excluding |
Conditionally include the category name in the post title
Yah, I don't remember why, this was made a long time ago, put it back how it was. 😃 |
Cool thanks! @bernd this PR has reached critical mass. It simply must be merged. (Please.) I'll write a readme PR to describe the three-ish new features in here if this gets merged. |
@deargle Awesome, thank you! |
This adds the ability to turn on category specific channels, which
can be specified in the category settings when the setting is enabled.
If the category does not have a specific channel set, it falls back to
the parent category if there is one, otherwise it just uses the global
channel specified in the settings.