Skip to content

Add NotificationService for user notifications#15

Merged
andrew merged 2 commits intomainfrom
add-notification-service
Mar 10, 2026
Merged

Add NotificationService for user notifications#15
andrew merged 2 commits intomainfrom
add-notification-service

Conversation

@andrew
Copy link
Contributor

@andrew andrew commented Mar 10, 2026

Adds a NotificationService interface with List, MarkRead, and Get operations for user notifications.

GitHub maps to activity notifications, GitLab maps to Todos, Gitea maps to notification threads. Bitbucket returns ErrNotSupported (no notifications API).

CLI commands: forge notification list (with --unread and --repo flags) and forge notification read (with --id and --repo flags).

Closes #10

andrew added 2 commits March 10, 2026 18:50
Adds a NotificationService interface with List, MarkRead, and Get
operations. Implements for GitHub (activity notifications), GitLab
(todos), Gitea (notification threads), and Bitbucket (returns
ErrNotSupported). Includes CLI commands: forge notification list
and forge notification read.

Closes #10
@andrew andrew merged commit 6b23361 into main Mar 10, 2026
@andrew andrew deleted the add-notification-service branch March 10, 2026 21:27
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.

Add notification support

1 participant