cohorta/src/hooks
michael 22b3ec19a5 Refactor FocusGroupModerator into smaller components and hooks
Extract business logic and UI into reusable pieces:

Custom Hooks:
- useFocusGroupAutoSave: debounced auto-save with retry logic
- useFolderManagement: folder CRUD operations
- usePersonaFiltering: filter state and persona filtering
- useDiscussionGuideGeneration: guide generation and progress

UI Components:
- SaveStatusIndicator: auto-save status display
- FolderSidebar: folder list and management
- PersonaFilterDialog: persona filter modal
- CopyGuideDialog: copy guide from other focus groups

Tab Components:
- SetupTab: form and asset uploader
- ReviewTab: discussion guide viewer
- ParticipantsTab: persona selection grid

Reduces FocusGroupModerator from 2,396 to ~600 lines (75% reduction).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 09:11:21 -06:00
..
use-mobile.tsx initial commit 2025-08-04 09:07:59 -05:00
useCancellableGeneration.ts made long actions cancellable (like persona generation, etc.), increased variety of persona generation with prompt changes and temperature variable, reduced length of key theme quotes, bug fixes 2025-09-10 16:24:05 -05:00
useDiscussionGuideGeneration.ts Refactor FocusGroupModerator into smaller components and hooks 2025-12-04 09:11:21 -06:00
useFocusGroupAutoSave.ts Refactor FocusGroupModerator into smaller components and hooks 2025-12-04 09:11:21 -06:00
useFolderManagement.ts Refactor FocusGroupModerator into smaller components and hooks 2025-12-04 09:11:21 -06:00
usePersonaDetails.ts fixed age to be a single number instead of range, fixed language for AI model to include thematic analysis, and added review/revert/save function to AI persona modification mechanism 2025-09-08 16:10:03 -05:00
usePersonaFiltering.ts Refactor FocusGroupModerator into smaller components and hooks 2025-12-04 09:11:21 -06:00
usePersonaStorage.ts initial commit 2025-08-04 09:07:59 -05:00
useStableWebSocket.ts converted message polling to websockets 2025-08-10 18:08:34 -05:00
useWebSocket.ts added drag and drop for reordering questions/activities in discussion guide edit mode 2025-08-26 09:52:24 -05:00