Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 4, 2026

Summary

  • Add company_types TEXT[] array column to organizations table with GIN index for efficient queries
  • Create centralized company-types configuration shared between backend (TypeScript) and frontend (JavaScript)
  • Add new company types: "data" (Data & Measurement) and "ai" (AI & Tech Platforms)
  • Support multiple types per organization (e.g., Microsoft as both "brand" and "ai")
  • Update admin UI with multi-select checkboxes for company types
  • Add AI enrichment button on org detail page for intelligent prospect research

Test plan

  • 27 unit tests cover company types config, formatting, industry mapping, and migration compatibility
  • All 144 existing tests pass
  • TypeScript compilation passes
  • Verified UI with Vibium browser testing (multi-select checkboxes render correctly)
  • Code review performed and issues addressed

🤖 Generated with Claude Code

bokelley and others added 2 commits January 3, 2026 22:35
- Add company_types array column to organizations table (TEXT[] with GIN index)
- Create centralized company-types config for backend (TypeScript) and frontend (JS)
- Add new company types: "data" (Data & Measurement) and "ai" (AI & Tech Platforms)
- Support multiple types per organization (e.g., Microsoft as both "brand" and "ai")
- Maintain backwards compatibility by dual-writing to both company_types and company_type
- Add validation for company_types array against allowed values
- Update admin UI with multi-select checkboxes
- Add AI enrichment button on org detail page
- Add 27 unit tests for company types config and migration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Resolved merge conflicts in prospect routes, cleanup service, and admin HTML files
- Kept our changes for multi-select company types with centralized config
- Renamed migration from 117 to 119 to avoid conflict with existing migration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 9b3a6e7 into main Jan 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants