Commit graph

11 commits

Author SHA1 Message Date
Michael Clervi
d06acdc8e1 changed permissions 2025-12-19 19:26:16 +00:00
michael
ef5481a269 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
michael
d309ab47f7 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
michael
762ca0d8c9 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
michael
2720bfbd56 graceful handling of expired JWT token 2025-09-03 13:15:00 -05:00
michael
84a0b58981 added drag and drop for reordering questions/activities in discussion guide edit mode 2025-08-26 09:52:24 -05:00
michael
2c159bf299 refactored file uploader and bug fixes 2025-08-13 11:32:56 -05:00
michael
d1e8e8e9a9 converted message polling to websockets 2025-08-10 18:08:34 -05:00
michael
d5d7ab3661 various bug fixes and UI tweaks 2025-08-07 16:34:37 -05:00
michael
c923e2b74c various bug fixes and feature additions per Alec's requests 2025-08-06 19:29:27 -05:00
michael
da7b2c0448 initial commit 2025-08-04 09:07:59 -05:00