Ghost/ghost/slack-notifications
Aileen Nowak d820b961b0 Avoid sending milestone email when actual value is too far from milestone
no issue

- Switches to used newly added config values throughout the services
- Updated the `shouldSendEmail` fn to check if actual value is too far from achieved milestone as determined by the percentage setting (e. g. 998 members should not accidentally receive an email for achieving 100 members)
2023-02-23 17:21:20 +02:00
..
lib Avoid sending milestone email when actual value is too far from milestone 2023-02-23 17:21:20 +02:00
test Slack notifications service for Milestones behind flag (#16281) 2023-02-17 12:59:18 +02:00
.eslintrc.js Slack notifications service for Milestones behind flag (#16281) 2023-02-17 12:59:18 +02:00
index.js Slack notifications service for Milestones behind flag (#16281) 2023-02-17 12:59:18 +02:00
package.json Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
README.md Slack notifications service for Milestones behind flag (#16281) 2023-02-17 12:59:18 +02:00

Slack Notifications

Service to handle sending notifications to a Slack webhook URL

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests