Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: simplify channels logic in slack app integration (#4756)
https://linear.app/unleash/issue/2-1393/drop-the-always-post-to-default-channels-field This drops the "Always post to default channels" field in the Slack App integration in favor of always posting to the configured channels. This should simplify the configuration of this integration. Here's a breakdown of the logic with this change: - Always post to the configured Slack channels, regardless of tags; - Tags are still respected. E.g. if we have a configured channel "channel-1" and a tag for "channel-2", then we post to both channels; - As channels are optional, if you would like to skip default channels for certain events and handle everything through tags, you can just create a new configuration without any default channels; This also updates the labels and changes the tests to better reflect the intended behavior. ![image](https://github.com/Unleash/unleash/assets/14320932/a2427bdd-4b92-44b3-9bad-8adb0f94c34d)
- Loading branch information
Showing
3 changed files
with
44 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters