Commit Graph

87 Commits

Author SHA1 Message Date
James 77e5177739 chore: auto-commit uncommitted changes 2026-03-21 12:02:05 -04:00
James b0f86ed4bb fix: saveOrg finally block — button always resets regardless of success/error/close order 2026-03-20 01:44:42 -04:00
James 5e77fa13fd fix: save button stuck — move reset to finally block, remove mid-session loadOrgs calls 2026-03-20 01:43:33 -04:00
James 71d481c43b fix: confirmRemoveInactive now auto-saves immediately; save button no longer gets stuck 2026-03-20 01:42:25 -04:00
James 3a1520cc91 fix: snapshot orgId+members before async save — closing modal mid-flight no longer breaks it 2026-03-20 01:37:11 -04:00
James 579047a54d feat: add contact saves immediately without needing Save Changes 2026-03-20 01:35:36 -04:00
James f8afed6a61 fix: saveOrg also fetches fresh version before writing — same stale version bug 2026-03-20 01:30:30 -04:00
James 8f6c6898c7 fix: fetch fresh version before saving contacts — rescrape bumps version making eVersion stale 2026-03-20 01:29:51 -04:00
James ae01ef8531 fix: orgToMap missing version field — always caused version_conflict on save; stop rollback on catch 2026-03-20 01:26:32 -04:00
James ffbe134708 fix: scrape selection — drop Set, query checkboxes by data-idx directly on save 2026-03-20 01:23:35 -04:00
James dc30969119 fix: track scrape selections in JS Set instead of querying DOM checked state 2026-03-20 01:10:38 -04:00
James 00c77396e4 fix: saveRescrapeSelection was missing — now actually saves; Members → Contacts throughout 2026-03-20 01:06:54 -04:00
James be7308cd88 ux: rename Ignore → Keep on not-found members 2026-03-20 01:03:33 -04:00
James 3e93fee954 ux: select all aligned left with checkboxes; add selected → save my selection (saves immediately) 2026-03-20 01:02:16 -04:00
James e0910a943b fix: save button stuck — version sequencing; add Ignore button to not-found people 2026-03-20 00:53:53 -04:00
James fb1a4fdaba feat: scraped people are editable inline (name/title/email/biz+personal phone) before adding 2026-03-20 00:48:16 -04:00
James 7871abf835 fix: single quotes inside string literals in updateMember oninput attrs — broke orgs page JS 2026-03-20 00:45:16 -04:00
James ce80aeeb4a feat: member inline edit (name/title/email/biz+personal phone); expand/collapse rows; add form includes phone fields 2026-03-20 00:41:03 -04:00
James 5291edfa94 feat: remove scrape cap; not-found people require explicit confirm-to-remove 2026-03-20 00:24:57 -04:00
James 41d3844a18 feat: rescrape max 20; select all checkbox in scrape results 2026-03-20 00:16:09 -04:00
James 8f143308bf fix: addRescrapeSelected onclick was mangling JSON in HTML attribute — use stored window variable instead 2026-03-20 00:10:37 -04:00
James 23a009e60d feat: global org members registry — rescrape, add/delete; deal member picker with search + new person saves to global org 2026-03-19 23:38:19 -04:00
James 063c12d324 fix: member cards not rendering — broken nested template literal; rewrite as renderMemberCard helper with safe string concat 2026-03-19 22:45:54 -04:00
James 3765adaf55 fix: savePermissions preserves members; surface actual error message on failure 2026-03-17 21:29:43 -04:00
James 06ff5268ba fix: remove role from global org registry — role is deal-specific, not org-level 2026-03-17 21:25:36 -04:00
James 412f9f7b12 feat: orgs page — full edit (all fields), delete with deal-membership warning, OrgDeals + DeleteOrg endpoints 2026-03-17 21:23:29 -04:00
James 83a3a43bff feat: edit org from deal — PATCH /orgs/{dealOrgId} updates org details + role; full field set in ListDealOrgs response 2026-03-17 21:17:23 -04:00
James df096438e3 fix: addManualPerson shows error when name+email empty; fix duplicate id=templateList 2026-03-17 21:08:15 -04:00
James 875593c0c2 feat: remove org from deal — ⋯ menu on org card with Permissions + Remove from deal 2026-03-17 21:01:19 -04:00
James 8dfd8c8b1d feat: deal name field in wizard step 1; inline validation errors on required fields; no more alert() dialogs 2026-03-17 16:57:03 -04:00
James cd2b67edd2 feat: template system — save/load request templates in DB; Use Template button; wizard uses ImportTemplate; save-as-template after import 2026-03-17 15:21:50 -04:00
James 4a7698ed20 fix: reset all org form fields on open/close — stale data from previous org was polluting second org entry 2026-03-17 14:10:08 -04:00
James ec7b4c9706 fix: AddOrgToDeal accepts no domain (derives from website); frontend derives domain fallback from website field 2026-03-17 13:36:35 -04:00
James 912fd55bf3 feat: delete project, seller logos on cards, org reuse on scrape
- Add DELETE /api/projects/{projectID} — super admin only, soft-deletes
  project and all child entries
- Projects page: delete button on hover, alphabetical sort, seller org
  logo on project cards
- Scrape endpoint checks for existing org by domain before scraping;
  reuses existing org + members if found
- AddOrgToDeal reuses existing org entry when domain matches
- Clearer error message when website HTML exceeds LLM context limit

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 19:22:39 -04:00
James fe7543a0c8 chore: auto-commit uncommitted changes 2026-03-16 18:02:01 -04:00
James 52edadab72 chore: auto-commit uncommitted changes 2026-03-16 06:02:44 -04:00
James dce2728bdb feat: permissions modal — replace folder dropdown with per-list checkboxes; fix savePermissions body 2026-03-15 00:45:59 -04:00
James 9be3c41493 fix: permissions button broken for new orgs — store orgs in JS map, pass only ID in onclick (same apostrophe/JSON escaping bug) 2026-03-15 00:07:32 -04:00
James 110d44e238 feat: add ⋯ menu to request_list and section rows — rename, delete, add section/request 2026-03-14 23:52:27 -04:00
James 1645061932 fix: menu buttons broken when title contains apostrophes — use showAttachModalById to avoid inline onclick escaping issues 2026-03-14 23:39:17 -04:00
James cec6841938 feat: auto-summarize long requests in Summary View; smarter placeholder text 2026-03-14 19:51:59 -04:00
James f06cce9089 feat: inline add section/request in tree; fix New List sort_order; Import List rename; + Section/+ Request buttons on list rows 2026-03-14 19:16:22 -04:00
James ce2c68634d feat: create request list manually; larger action buttons; Summary View/Detailed View toggle 2026-03-14 18:42:21 -04:00
James 19fccab7fd redesign: request detail — card-based layout, max-w-4xl centered, proper hierarchy, empty state 2026-03-12 05:11:07 -04:00
James 51928a1cdc fix: request detail — full width, response+discussion side by side, buyer preview-only, header breadcrumb 2026-03-12 05:06:42 -04:00
James 58023f464c redesign: request detail — single column, request→response→discussion, project name in breadcrumb 2026-03-12 05:03:15 -04:00
James d3f3360c48 fix: role restrictions use localStorage fallback; request text body size not h1 bold 2026-03-12 04:54:42 -04:00
James e197bb9526 fix: applyRoleRestrictions was called but never defined — was causing Error loading request 2026-03-12 04:51:25 -04:00
James 0e11ba2ba1 fix: buyer view — hide upload/mark answered/compose; fix duplicate request text; tighten title size 2026-03-12 04:36:24 -04:00
James f6632dddfc fix: add test role select to sidebar — was missing from template 2026-03-12 04:20:17 -04:00