diff --git a/src/components/AIQueryInterface.astro b/src/components/AIQueryInterface.astro index 987c795..3053541 100644 --- a/src/components/AIQueryInterface.astro +++ b/src/components/AIQueryInterface.astro @@ -965,23 +965,12 @@ class AIQueryInterface { - + -
- -
- -
+ `; @@ -1918,32 +1917,38 @@ class AIQueryInterface { const priority = tool.recommendation ? tool.recommendation.priority : tool.priority; const confidenceTooltip = tool.confidence ? this.renderConfidenceTooltip(tool.confidence) : ''; + const cardClass = this.getToolClass(tool, 'recommendation'); return ` -
-
-

- ${tool.icon ? `${tool.icon}` : ''} +
+ +
+

+ ${tool.icon ? `${tool.icon}` : ''} ${tool.name}

-
- +
+ ${priority} ${confidenceTooltip}
-
+
"${sanitizeText(tool.justification || (tool.recommendation && tool.recommendation.justification) || `Empfohlen fĂĽr ${tool.phase}`)}"
-
-
+
+
${this.renderToolBadges(tool)}
-
+
${tool.type === 'method' ? 'Methode' : tool.platforms.slice(0, 2).join(', ')} ${tool.skillLevel}
@@ -2021,15 +2026,15 @@ class AIQueryInterface { const confidenceTooltip = recommendation.confidence ? this.renderConfidenceTooltip(recommendation.confidence) : ''; return ` -
+
${rank}
-
-

${tool.name}

-
- +
+

${tool.name}

+
+ ${this.getSuitabilityText(recommendation.suitability_score)} ${confidenceTooltip} @@ -2037,13 +2042,13 @@ class AIQueryInterface {
-
-

Warum diese Methode?

-
${sanitizeText(recommendation.detailed_explanation)}
+
+

Warum diese Methode?

+
${sanitizeText(recommendation.detailed_explanation)}
${recommendation.implementation_approach ? ` -

Anwendungsansatz

-
${sanitizeText(recommendation.implementation_approach)}
+

Anwendungsansatz

+
${sanitizeText(recommendation.implementation_approach)}
` : ''}
@@ -2058,66 +2063,69 @@ class AIQueryInterface { if (!confidence || typeof confidence.overall !== 'number') return ''; const confidenceColor = getConfidenceColor(confidence.overall); + const tooltipId = `tooltip-${Math.random().toString(36).substr(2, 9)}`; return ` - -
- ${confidence.overall}% +
+ ${confidence.overall}% -