Commit Graph

122 Commits

Author SHA1 Message Date
James 5ffea5093a chore: auto-commit uncommitted changes 2026-03-23 06:01:53 -04:00
James 6f50c1dc6c chore: auto-commit uncommitted changes 2026-03-22 06:01:33 -04:00
James 7eb91021c1 chore: auto-commit uncommitted changes 2026-03-21 18:01:57 -04:00
James 77e5177739 chore: auto-commit uncommitted changes 2026-03-21 12:02:05 -04:00
James 70baa67dfd chore: auto-commit uncommitted changes 2026-03-21 06:02:09 -04:00
James 703b8d9ec0 feat: add Andrew (andyweyrauch76@gmail.com) as super admin 2026-03-20 10:13:28 -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 ba5591ca2c chore: auto-commit uncommitted changes 2026-03-18 06:02:21 -04:00
James aca4789b6c fix: DealOrgPerms missing VisibleLists field — permissions appeared to not save because visible_lists was silently dropped on unmarshal 2026-03-17 21:32:06 -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 ec0b60d44c fix: CreateSection/CreateRequest/CreateRequestList now use lib.EntryWrite — no more raw DB calls in handlers 2026-03-17 13:21:49 -04:00
James eb37f682eb chore: auto-commit uncommitted changes 2026-03-17 00:01:24 -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 bfade7a86f chore: auto-commit uncommitted changes 2026-03-16 00:01:27 -04:00
James 379a79bc9d chore: auto-commit uncommitted changes 2026-03-15 06:02:11 -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