Skip to content

feat: sync working group posts to Slack channels#751

Merged
bokelley merged 1 commit into
mainfrom
bokelley/chapter-slack-sync
Jan 13, 2026
Merged

feat: sync working group posts to Slack channels#751
bokelley merged 1 commit into
mainfrom
bokelley/chapter-slack-sync

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Automatically share published working group posts to their linked Slack channels. When a post is published, a formatted message is sent to the working group's Slack channel (if configured).

  • Add notifyWorkingGroupSlackChannel() for posting to specific channels using Block Kit formatting
  • Add notifyPublishedPost() wrapper that checks privacy settings and channel configuration
  • Update committees.ts routes to use new notification function (3 locations)
  • Add notifications to content.ts for propose/approve endpoints (2 locations)
  • Skip members-only posts to respect privacy

Closes #719

Test plan

  • Create a working group with slack_channel_id set
  • Create a published article post - verify Slack message appears in channel
  • Create a published link post - verify format includes external URL
  • Create a members-only post - verify NO Slack message is sent
  • Create a draft, then publish it - verify Slack message appears
  • Create post in group without channel configured - verify no error

🤖 Generated with Claude Code

Automatically share published working group posts to their linked Slack
channels. When a post is published, a formatted message is sent to the
working group's Slack channel (if configured).

- Add notifyWorkingGroupSlackChannel() for posting to specific channels
- Add notifyPublishedPost() wrapper that checks privacy and channel config
- Update committees.ts routes to use new notification function
- Add notifications to content.ts for propose/approve endpoints
- Skip members-only posts to respect privacy
- Use Block Kit for rich message formatting

Closes #719

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit a9e2647 into main Jan 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync chapter page posts with Slack channels

1 participant