dealroom/internal/handler
James 13effdce40 fix: stage constraint migration + folder drag reparenting
- Auto-migrate deals table: old CHECK constraint ('pipeline','loi',...) → new
  stages ('prospect','internal','initial_marketing','ioi','loi','closed')
  Maps legacy values: pipeline→prospect, initial_review→initial_marketing,
  due_diligence→ioi, final_negotiation→loi, dead→closed
- Add POST /deals/folders/reparent endpoint with circular-ref guard
- Child folders are now draggable with full drag support
- Drop onto top 40% of a folder → reorder at same level (existing behaviour)
- Drop onto bottom 60% of a folder → make dragged folder a child of target
- Root drop zone appears when dragging a subfolder: drop here to promote to root
- Visual teal outline on hover shows where folder will land
2026-02-25 00:15:26 -05:00
..
admin.go feat: Misha requests 2026-02-24 2026-02-24 03:05:36 -05:00
analytics.go feat: analytics per-buyer stats with buyer activity table 2026-02-23 02:59:48 -05:00
audit.go feat: audit log buyer group filter 2026-02-23 03:03:05 -05:00
auth.go feat: organization type on signup 2026-02-23 02:43:37 -05:00
contacts.go feat: contacts deal association with junction table and multi-select 2026-02-23 03:01:58 -05:00
context.go Full app build: all pages, handlers, templates, demo data seeding 2026-02-15 19:33:12 -05:00
deals.go fix: stage constraint migration + folder drag reparenting 2026-02-25 00:15:26 -05:00
files.go feat: document comments 2026-02-23 02:54:41 -05:00
handler.go fix: stage constraint migration + folder drag reparenting 2026-02-25 00:15:26 -05:00
requests.go feat: Misha requests 2026-02-24 2026-02-24 03:05:36 -05:00
subscription.go feat: subscription plan page with usage stats and plan cards 2026-02-23 03:04:14 -05:00
team.go feat: invite system and team page 2026-02-23 02:45:57 -05:00