nexus/ui/src/hooks
Nexus Dev 862cf7fef3 feat(26-04): create push API client, usePushNotifications hook, and NotificationPermissionPrompt
- Add ui/src/api/push.ts with getVapidPublicKey, subscribe, unsubscribe methods
- Add ui/src/hooks/usePushNotifications.ts with SW pushManager subscription flow
- urlBase64ToUint8Array utility converts VAPID key for applicationServerKey
- NotificationPermissionPrompt shows after 3rd agent response (engagement gate)
- Checks nexus.notifPromptDismissed localStorage key for dismiss state
- ChatPanel tracks agentResponseCount from assistant messages and renders prompt
- Install idb package (missing dependency from plan 26-00 prerequisites)
2026-04-04 03:55:48 +00:00
..
useAgentOrder.ts Preserve sidebar order in company portability 2026-03-23 16:57:59 -05:00
useAutosaveIndicator.ts feat(issues): add issue documents and inline editing 2026-03-13 21:30:48 -05:00
useBrainstormerDefault.test.ts test(23-00): Wave 0 test stubs for Phase 23 components and hooks 2026-04-04 03:55:47 +00:00
useBrainstormerDefault.ts feat(23-02): add ChatTaskCreatedBadge, ChatStatusUpdateBadge, useBrainstormerDefault 2026-04-04 03:55:47 +00:00
useChatBookmarks.ts feat(24-02): API client methods and React Query hooks for search, bookmarks, branches 2026-04-04 03:55:48 +00:00
useChatConversations.ts feat(21-06): add search and agentId filter to listConversations 2026-04-04 03:55:47 +00:00
useChatFileUpload.ts feat(25-02): add chatApi.uploadFile and useChatFileUpload hook 2026-04-04 03:55:48 +00:00
useChatMessages.ts feat(21-05): create chat API client and TanStack Query hooks 2026-04-04 03:55:47 +00:00
useChatSearch.ts feat(24-02): API client methods and React Query hooks for search, bookmarks, branches 2026-04-04 03:55:48 +00:00
useCompanyPageMemory.test.ts Pin imported GitHub skills and add update checks 2026-03-14 13:52:20 -05:00
useCompanyPageMemory.ts Fix company switch remembered routes 2026-03-13 10:01:32 -05:00
useDateRange.ts fix(costs): harden company auth check, fix frozen date memo, hide empty quota rows 2026-03-16 15:08:54 -05:00
useInboxBadge.ts Add mail-client keyboard shortcuts to inbox mine tab 2026-03-29 10:57:34 -05:00
useInstallPrompt.test.ts feat(26): merge worktree code from plans 26-00, 26-01, 26-03 2026-04-04 03:55:48 +00:00
useInstallPrompt.ts feat(26): merge worktree code from plans 26-00, 26-01, 26-03 2026-04-04 03:55:48 +00:00
useKeyboardShortcuts.ts feat(21-06): add conversation search input and Cmd+K shortcut 2026-04-04 03:55:47 +00:00
useMediaQuery.ts feat(26-02): create useMediaQuery hook, usePullToRefresh hook, and PullToRefresh component 2026-04-04 03:55:48 +00:00
useOfflineQueue.test.ts feat(26): merge worktree code from plans 26-00, 26-01, 26-03 2026-04-04 03:55:48 +00:00
useOfflineQueue.ts feat(26): merge worktree code from plans 26-00, 26-01, 26-03 2026-04-04 03:55:48 +00:00
useOnlineStatus.ts feat(26): merge worktree code from plans 26-00, 26-01, 26-03 2026-04-04 03:55:48 +00:00
useProjectOrder.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
usePullToRefresh.ts feat(26-02): create useMediaQuery hook, usePullToRefresh hook, and PullToRefresh component 2026-04-04 03:55:48 +00:00
usePushNotifications.test.ts feat(26): merge worktree code from plans 26-00, 26-01, 26-03 2026-04-04 03:55:48 +00:00
usePushNotifications.ts feat(26-04): create push API client, usePushNotifications hook, and NotificationPermissionPrompt 2026-04-04 03:55:48 +00:00
useStreamingChat.test.ts feat(22-01): add useStreamingChat hook, chat API stream method, and unit tests 2026-04-04 03:55:47 +00:00
useStreamingChat.ts feat(22-01): add useStreamingChat hook, chat API stream method, and unit tests 2026-04-04 03:55:47 +00:00