diff --git a/PROMPT.md b/PROMPT.md index 965e3cc..b6b2ee8 100644 --- a/PROMPT.md +++ b/PROMPT.md @@ -877,6 +877,35 @@ When creating a new screen, ensure it has: - [ ] Fixed terminal/status panels at bottom - [ ] Variable content area with internal scroll +### Alert Infrastructure (Bell Notifications) + +Use `window.GBAlerts` for app notifications that appear in the global bell icon: + +```javascript +// Task completed (with optional app URL) +window.GBAlerts.taskCompleted("My App", "/apps/my-app/"); + +// Email notification +window.GBAlerts.newEmail("john@example.com", "Meeting tomorrow"); + +// Chat message +window.GBAlerts.newChat("John", "Hey, are you there?"); + +// Drive sync +window.GBAlerts.driveSync("report.pdf", "uploaded"); + +// Calendar reminder +window.GBAlerts.calendarReminder("Team Meeting", "15 minutes"); + +// Error +window.GBAlerts.error("Drive", "Failed to sync file"); + +// Generic notification +window.GBAlerts.add("Title", "Message", "success", "🎉"); +``` + +All notifications appear in the bell dropdown with sound (if enabled). + --- ## Remember diff --git a/ui/suite/base.html b/ui/suite/base.html index 06a37cd..2670eae 100644 --- a/ui/suite/base.html +++ b/ui/suite/base.html @@ -333,6 +333,62 @@ + +
+