feat(prospecting): improve prospect detail with score details and tech badge

- Score Breakdown: show point-by-point contributions from score_breakdown
  dict, sorted by value, color-coded green (positive) vs red (negative)
- Tech Profile: prominent CMS badge (WordPress, Shopify, etc.) with
  e-commerce platform tag, "Custom / Unknown CMS" fallback
- Add SSL issuer and expiry date to tech profile card

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-30 21:24:19 +02:00
parent 754bfca87d
commit 28b08580c8
2 changed files with 40 additions and 8 deletions

View File

@@ -123,6 +123,11 @@ function prospectDetail(prospectId) {
return 'text-gray-600';
},
isPositiveFlag(flag) {
var positive = ['has_website', 'has_contacts', 'has_email', 'has_phone', 'has_ssl', 'modern_cms', 'fast_site', 'mobile_friendly'];
return positive.indexOf(flag) !== -1;
},
techProfileEntries() {
const tp = this.prospect?.tech_profile;
if (!tp) return [];