Commit Graph

20 Commits

Author SHA1 Message Date
James cdca770e45 feat: request lists page with deal and buyer group filters
Add deal filter and buyer group filter dropdowns to request lists page.
Client-side filtering hides/shows deal sections and group subsections.
Organized by deal name as section header with per-group subsections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:55:57 -05:00
James cc9e7eeff1 feat: search within deal room
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>
2026-02-23 02:55:22 -05:00
James 2d6e9fc79a feat: document comments
Add file_comments table and FileComment model.
Add comment icon per file that toggles inline comment panel.
Comments loaded via HTMX with add form, stored per file/deal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:54:41 -05:00
James 9295b18560 feat: buyer-specific request lists
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>
2026-02-23 02:53:40 -05:00
James 70939a602e feat: doc-request list linking
Show linked file names as downloadable pills in request list view.
Files linked to request items during upload are displayed inline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:53:06 -05:00
James 6484145581 feat: file upload and management
Add file upload with multipart form, local disk storage at data/uploads/.
Add file download with original filename and activity logging.
Add file delete (owner/admin only) with disk cleanup.
Add upload modal with folder selector and request item linking.
Add download and delete actions to file list.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:52:30 -05:00
James ae79ad12c3 feat: deal room folder management
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>
2026-02-23 02:51:04 -05:00
James 233b20efa6 feat: permission controls on request lists
Add buyer_can_comment/seller_can_comment to deals, buyer_group to profiles.
Add buyer_groups and folder_access tables for granular access control.
Add permission checkboxes to admin deal form, buyer_group to admin user form.
Update RBAC to use profile buyer_group field.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:49:57 -05:00
James f1c2a0ef84 feat: new room modal enhancements
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>
2026-02-23 02:48:22 -05:00
James 99de1d4979 feat: remove close probability from UI
Remove close_probability form field from admin deal edit form.
Field kept in model for backward compatibility but no longer exposed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:46:14 -05:00
James dad9dcd835 feat: invite system and team page
Add invites table, invite create/accept routes and handlers.
Add Team page with member list, invite modal with link generation.
Add invite accept page for new users to set name/password and join org.
Add Team nav item in sidebar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:45:57 -05:00
James c2a8808983 feat: organization type on signup
Add org_type field (bank/pe_vc/company) to organizations table with
additive migration. Add type selector to signup form and admin org
edit form. Fix signup handler column names and session creation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:43:37 -05:00
James d99b455282 chore: auto-commit uncommitted changes 2026-02-23 00:01:23 -05:00
James 135d23468a feat: seller/buyer view toggle
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 01:08:21 -05:00
James 6ab568ba4f feat: production auth - bcrypt passwords, remove demo login, create Misha admin account
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:28:26 -05:00
James eb103b4813 feat: Dealspace UX overhaul - remove closing probability, dashboard stats, last accessed, new room modal, search, per-deal analytics/audit/contacts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:17:03 -05:00
James e4552aef5b Add admin CRUD for contacts, deals, users, and organizations
- Admin section accessible to owner/admin roles only
- Full CRUD for contacts with type filtering (buyer/internal/advisor)
- Full CRUD for deals with all fields (stage, size, dates, etc.)
- Full CRUD for users/profiles with role management
- Full CRUD for organizations
- Admin dashboard with entity counts
- Consistent dark theme matching existing UI
- Breadcrumb navigation throughout admin section
- Delete confirmation dialogs
2026-02-17 04:41:22 -05:00
James 3720ed7b84 Full app build: all pages, handlers, templates, demo data seeding
- Auth: email/password login + seller/buyer demo modes
- Dashboard with deal cards, stage badges, exclusivity countdown
- Deal Rooms list with timeline info
- Deal Room detail with Documents + Request List tabs
- Request List with buyer group tabs, Atlas status indicators
- Contacts, Audit Log, Analytics pages
- Role-based sidebar navigation (seller vs buyer views)
- SQLite schema with 16 tables + demo data seeding
- Teal accent theme matching Lovable prototype
- All templ templates generated, go build succeeds
2026-02-15 19:33:12 -05:00
James f07a730caa Add docker-compose.yml for development convenience 2026-02-15 18:33:11 -05:00
James 11cf55cfb8 Initial Deal Room project scaffold
- Complete architecture specification (SPEC.md)
- Go project structure with inou pattern
- Database schema with unified entries table
- RBAC engine with bitmask permissions
- Encrypted file storage (AES-256-GCM + zstd)
- HTTP handlers and routing structure
- templ templates for UI (layout, dashboard, login)
- K2.5 AI integration for document analysis
- Docker deployment configuration
- Comprehensive Makefile and documentation

Tech Stack: Go + templ + HTMX + SQLite + Tailwind CSS
Ready for development and deployment.
2026-02-15 18:32:50 -05:00