- 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
Add debounced search input in deal detail header.
HTMX-powered search across files, folders, and request items.
Returns categorized results with links.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add is_buyer_specific and visible_to_buyer_group to diligence_requests.
Filter request list for buyers to show general requests plus their
buyer-group-specific ones.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add folder create, rename, delete, and reorder handlers.
Add New Folder modal to deal room detail with parent folder selector.
Add sort_order field to folders for drag-to-reorder.
Order folders by sort_order in folder tree.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add industry field and exclusivity end date to new room modal.
Add folder structure textarea for auto-creating nested folders.
Add initial team invite textarea for inviting members on deal creation.
Add New Room button and modal to deal rooms page.
Add industry field to admin deal form.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>