You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to configure a Slack or Discord webhook URL in their profile settings. Send them a weekly summary of their metrics (commits, PRs, goal progress) via the webhook.
Why This Matters
Developers forget to check dashboards. Push-based notifications bring the data to where they already are (team Slack/Discord channels).
What Needs to Be Done
Allow users to configure a Slack or Discord webhook URL in their profile settings. Send them a weekly summary of their metrics (commits, PRs, goal progress) via the webhook.
Why This Matters
Developers forget to check dashboards. Push-based notifications bring the data to where they already are (team Slack/Discord channels).
Files to Create/Modify
Acceptance Criteria
Tech Context
Slack/Discord webhooks accept POST with JSON body:
```ts
// Slack
{ text: "Your weekly DevTrack summary: 23 commits, 5 PRs merged, 80% goals hit" }
// Discord
{ content: "Your weekly DevTrack summary: ..." }
```
For Vercel Cron:
```json
// vercel.json
{ "crons": [{ "path": "/api/notifications/weekly", "schedule": "0 9 * * 1" }] }
```
Depends on #15 (profile page) being merged first.