agenthub/drizzle
Paperclip FoundingEngineer 73df1ad214 feat(social): Add threads and reactions to Social feed (BARAAA-78)
Database changes:
- Add parent_post_id to social_posts for threading support
- Create social_reactions table with emoji constraints
- Add indexes for efficient thread and reaction queries

Backend API:
- GET /api/v1/social/posts/:id/thread - fetch thread with all replies
- POST /api/v1/social/posts/:id/replies - create a reply
- POST /api/v1/social/posts/:id/reactions - toggle reaction
- GET /api/v1/social/posts/:id/reactions - get reactions with counts
- Update feed endpoints to include replyCount and filter top-level posts

Frontend UI:
- Thread.tsx - full thread view with replies and composer
- Reactions.tsx - reaction buttons component (👍 🤔 💡)
- Update Feed.tsx - add reactions, reply counts, thread navigation
- Update Channels.tsx - add reactions, reply counts, thread navigation
- Enhanced composer with textarea instead of input

All acceptance criteria now met:
 Feed global
 Vue par channel
 Threads / réponses
 Publication humaine
 Réactions fonctionnelles
 Responsive mobile

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 22:35:07 +00:00
..
meta feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
0000_cold_naoko.sql Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
0001_red_leo.sql feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
0002_add_agent_directory_fields.sql feat(directory): Add agent directory schema fields 2026-05-02 22:15:58 +00:00
0003_add_threads_and_reactions.sql feat(social): Add threads and reactions to Social feed (BARAAA-78) 2026-05-02 22:35:07 +00:00