feat(market-intel): implement role-based campaign engine and gritty reporting
- Implementierung der rollenbasierten Campaign-Engine mit operativem Fokus (Grit). - Integration von Social Proof (Referenzkunden) in die E-Mail-Generierung. - Erweiterung des Deep Tech Audits um gezielte Wettbewerber-Recherche (Technographic Search). - Fix des Lösch-Bugs in der Target-Liste und Optimierung des Frontend-States. - Erweiterung des Markdown-Exports um transparente Proof-Links und Evidenz. - Aktualisierung der Dokumentation in readme.md und market_intel_backend_plan.md.
This commit is contained in:
@@ -30,14 +30,18 @@ export const StepReview: React.FC<StepReviewProps> = ({ competitors, categorized
|
||||
};
|
||||
|
||||
const renderCompetitorList = (comps: Competitor[], category: string) => {
|
||||
if (!comps || comps.length === 0) {
|
||||
// Filter out competitors that have been removed from the main list
|
||||
const activeIds = new Set(competitors.map(c => c.id));
|
||||
const activeComps = comps.filter(c => activeIds.has(c.id));
|
||||
|
||||
if (!activeComps || activeComps.length === 0) {
|
||||
return (
|
||||
<li className="p-4 text-center text-slate-500 italic bg-white rounded-md border border-slate-100 mb-2 last:mb-0">
|
||||
Keine {category} Konkurrenten gefunden.
|
||||
</li>
|
||||
);
|
||||
}
|
||||
return comps.map((comp) => (
|
||||
return activeComps.map((comp) => (
|
||||
<li key={comp.id} className="flex items-start justify-between p-4 hover:bg-slate-50 transition-colors group bg-white rounded-md border border-slate-100 mb-2 last:mb-0">
|
||||
<div className="flex-1">
|
||||
<div className="flex items-center gap-2">
|
||||
|
||||
Reference in New Issue
Block a user