Skip to content

Commit 1e0345e

Browse files
committed
chore(notifications): add changesets
1 parent 4343887 commit 1e0345e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.changeset/chilly-tips-explode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"trigger.dev": patch
33
---
44

5-
CLI notifications
5+
Add platform notifications support to the CLI. The `trigger dev` and `trigger login` commands now fetch and display platform notifications (info, warn, error, success) from the server. Includes discovery-based filtering to conditionally show notifications based on project file patterns, color markup rendering for styled terminal output, and a non-blocking display flow with a spinner fallback for slow fetches. Use `--skip-platform-notifications` flag with `trigger dev` to disable the notification check.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
area: webapp
3+
type: feature
4+
---
5+
6+
Add platform notifications system for the dashboard and CLI.
7+
8+
- New `PlatformNotification` and `PlatformNotificationInteraction` database tables with support for scoped delivery (global, organization, project, user) and dual surfaces (webapp, CLI)
9+
- Dashboard notification panel in the sidebar with unread badge, dismiss, click tracking, and seen/read state per user
10+
- CLI notification delivery via a new `GET /api/v1/platform-notifications` endpoint with frequency controls (cliShowEvery, cliMaxShowCount, cliMaxDaysAfterFirstSeen) and a Redis-backed per-user request counter
11+
- Admin API (`POST /admin/api/v1/platform-notifications`) and admin UI page for creating and managing notifications with Zod-validated v1 payload schema
12+
- Changelog notifications surfaced in the Help & Feedback popover via a dedicated resource route
13+
- Discovery-based filtering for CLI notifications allowing file pattern and content pattern matching to conditionally show notifications based on the user's project

0 commit comments

Comments
 (0)