nexus/ui/src/hooks
Nexus Dev 06c6317c25 refactor(nexus): rewire PersonalAssistant to use new frame pieces (phase 9)
Composes the Phase 9 assistant primitives at /assistant: full-bleed chat
canvas with a 760px centered column, AssistantHomeGreeting for the no-
conversation state, AssistantInputBar + ActionStrip anchored at the
bottom, and HistorySheet / MemorySheet slide-overs. Drops the 160px
inner conversation-list column and the custom MessageBubble, delegating
thread rendering to the shared ChatMessageList and streaming to the
shared useStreamingChat hook. Adds a ?prompt= query-param fallback for
Studio → Assistant hand-offs, preserves the existing assistantHandoff
call as the Promote action, and syncs the selected conversation id with
the shared ChatPanelContext so HistorySheet stays in lockstep.

Also fixes typecheck fallout from the rewrite: switches toast tones to
the documented info|success|warn|error set, narrows the stale-project
filter to use archivedAt (ProjectStatus never had "archived"), and
tightens the MemorySheet test render helper to JSX.Element.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 12:22:55 +00:00
..
useAgentOrder.ts Preserve sidebar order in company portability 2026-03-23 16:57:59 -05:00
useAssistantHomeStatus.test.ts refactor(nexus): rewire PersonalAssistant to use new frame pieces (phase 9) 2026-04-11 12:22:55 +00:00
useAssistantHomeStatus.ts refactor(nexus): rewire PersonalAssistant to use new frame pieces (phase 9) 2026-04-11 12:22:55 +00: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
useContentJob.ts feat: Phase 44 — Video & Presentations (Remotion MP4, SSE progress) 2026-04-05 09:57:11 +00: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
useGateIndicator.test.ts feat(nexus): add useGateIndicator hook (phase 11) 2026-04-11 12:15:47 +00:00
useGateIndicator.ts feat(nexus): add useGateIndicator hook (phase 11) 2026-04-11 12:15:47 +00:00
useHardwareInfo.ts feat(39-02): VoiceStep hardware-aware UI with conditional enable/skip 2026-04-04 03:55:50 +00: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
useNexusMode.ts feat(33-01,33-02): memory service + sanitizer, personal assistant page 2026-04-04 03:55:49 +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
usePiperTts.ts fix(nexus): unblank assistant page on piper-tts import error 2026-04-11 10:35:01 +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(37-04): add voiceMode to chatApi.postMessageAndStream + useStreamingChat.startStream 2026-04-04 03:55:50 +00:00
useSystemProviders.ts feat: Phase 42 — Wallpapers, Social, Format Conversion & Voice (12 platforms, convert pipeline, offline badge) 2026-04-05 09:56:53 +00:00
useVadRecorder.ts feat(37-02): encodeWav utility, useVadRecorder + useVoiceMode hooks 2026-04-04 03:55:50 +00:00
useVoiceMode.ts feat(37-02): encodeWav utility, useVadRecorder + useVoiceMode hooks 2026-04-04 03:55:50 +00:00