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:
@@ -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 [];
|
||||
|
||||
Reference in New Issue
Block a user