tpmjs/apps/web/src/hooks
Ajax Davis 48c41e8733 feat: add use cases marketing product with AI-generated content
Transform qualifying scenarios into marketing-ready use cases with:
- AI-generated titles, descriptions, ROI estimates, business value
- Persona/industry/category taxonomy for targeting
- Browseable feed with filtering and ranking
- SEO-optimized case study pages
- Daily cron job for generation and ranking

Database:
- Add Persona, Industry, Category lookup tables
- Add UseCase model with marketing content fields
- Add junction tables for personas/industries/categories
- Add SocialProof model for cached metrics

API:
- GET /api/use-cases - Global directory with filtering
- GET /api/use-cases/[id] - Individual use case details
- GET /api/public/users/[username]/collections/[slug]/use-cases
- POST /api/cron/use-cases - Nightly generation job

Frontend:
- /use-cases - Global feed with persona dropdown
- /use-cases/[slug] - SEO case study page
- /[username]/collections/[slug]/use-cases - Collection feed
- UseCasesFeed component - Sortable table component
- UseCaseCaseStudy component - Full case study layout
2026-01-20 16:17:35 +10:00
..
useActivity.ts feat(web): implement SWR for instant data fetching 2026-01-16 11:42:55 +10:00
useAgents.ts feat: add use cases marketing product with AI-generated content 2026-01-20 16:17:35 +10:00
useBundleSize.ts feat: add use cases marketing product with AI-generated content 2026-01-20 16:17:35 +10:00
useCollections.ts feat(web): implement SWR for instant data fetching 2026-01-16 11:42:55 +10:00
useLikeStatus.ts feat: add use cases marketing product with AI-generated content 2026-01-20 16:17:35 +10:00
useScenarios.ts feat(web): add scenarios UI - explorer, detail, and homepage section 2026-01-19 05:57:29 +10:00
useStats.ts feat(web): implement SWR for instant data fetching 2026-01-16 11:42:55 +10:00
useTools.ts feat(web): implement SWR for instant data fetching 2026-01-16 11:42:55 +10:00