Skip to content

[Amber] Fix: Feature: Add browser push notification support - #489

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
amber/issue-488-feature-add-browser-push-notification-support
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
amber/issue-488-feature-add-browser-push-notification-support

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated Fix by Amber Agent

This PR addresses issue #488 using the Amber background agent.

Changes Summary

  • Action Type: auto-fix
  • Commit: a07694d
  • Triggered by: Issue label/command

Pre-merge Checklist

  • All linters pass
  • All tests pass
  • Changes follow project conventions (CLAUDE.md)
  • No scope creep beyond issue description

Reviewer Notes

This PR was automatically generated. Please review:

  1. Code quality and adherence to standards
  2. Test coverage for changes
  3. No unintended side effects

🤖 Generated with Amber Background Agent

Closes #488

Implements browser push notifications to keep users informed of session
events even when not actively viewing the application.

Backend changes:
- Add push subscription management endpoints (CRUD operations)
- Add VAPID public key endpoint for Push API
- Store subscriptions in namespace-scoped ConfigMaps
- Implement RBAC checks for subscription access
- Add comprehensive error handling and logging

Frontend changes:
- Add Push API service for subscription management
- Add push notification manager for browser integration
- Add React Query hooks for subscription state
- Implement service worker for background notifications
- Add permission request flow

Features:
- Notification preferences (session start/complete/error, run finish/error)
- Service worker for background delivery
- Automatic permission handling
- Browser compatibility checks
- Test notification functionality

Documentation:
- Comprehensive guide in docs/push-notifications.md
- Architecture overview and data flow
- API endpoint documentation
- Configuration guide (VAPID keys)
- Browser compatibility matrix
- Troubleshooting guide

Security:
- User-scoped K8s clients with RBAC enforcement
- Per-user, per-project subscription isolation
- No sensitive data in notification payloads
- VAPID key management via environment variables

Future integration points:
- SSE event stream (websocket/agui.go)
- Operator phase transitions (operator/internal/handlers/sessions.go)
- Web Push protocol implementation (requires push library)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jeremyeder

Copy link
Copy Markdown
Contributor

leaving it open because i think we want this but not ready to pick it back up

@bobbravo2 bobbravo2 added this to the v0.0.20 milestone Jan 30, 2026
@Gkrumbach07 Gkrumbach07 removed this from the v0.0.20 milestone Feb 18, 2026
@Gkrumbach07 Gkrumbach07 added this to the Merge Queue milestone Feb 27, 2026
@Gkrumbach07
Gkrumbach07 marked this pull request as draft February 27, 2026 16:43
@Gkrumbach07

Copy link
Copy Markdown
Contributor

Moving this to draft. needs more research

@ambient-code ambient-code Bot removed this from the Merge Queue milestone Feb 27, 2026
@jeremyeder jeremyeder closed this Mar 7, 2026
@jeremyeder jeremyeder reopened this Mar 7, 2026
@jeremyeder

Copy link
Copy Markdown
Contributor

Closing — this Amber auto-generated PR is failing CI (frontend build + lint errors) and has been stale for 2+ months. We'll revisit browser push notification support properly in the near future.

@jeremyeder jeremyeder closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add browser push notification support

3 participants