Refactor all references to computer to Superbrain
release gate / check (push) Failing after 6m55s

This commit is contained in:
Andrew S Erwin
2026-10-22 00:33:44 -05:00
parent 45aa3c80aa
commit d870eece1e
84 changed files with 438 additions and 381 deletions
+2 -2
View File
@@ -96,7 +96,7 @@ export function AppShell({ children }: { children: React.ReactNode }) {
const id = String(a?.id ?? a?.bookmarkId ?? '')
if (!id || notifiedAlerts.current.has(id)) continue
notifiedAlerts.current.add(id)
new Notification('computer alert', { body: `${a?.title ?? 'Bookmark'} is due!`, icon: '/favicon.svg' })
new Notification('superbrain alert', { body: `${a?.title ?? 'Bookmark'} is due!`, icon: '/favicon.svg' })
}
}
}
@@ -111,7 +111,7 @@ export function AppShell({ children }: { children: React.ReactNode }) {
// an explicit user action (top-bar.tsx), not on every app mount.
const refreshPage = useCallback(() => {
window.dispatchEvent(new Event('computer:bookmarks-changed'))
window.dispatchEvent(new Event('superbrain:bookmarks-changed'))
router.refresh()
}, [router])