feat(iace): FMEA Bedienungsanleitung — ausklappbare Info-Box
Build + Deploy / build-admin-compliance (push) Successful in 12s
Build + Deploy / build-backend-compliance (push) Successful in 12s
Build + Deploy / build-ai-sdk (push) Successful in 11s
Build + Deploy / build-developer-portal (push) Successful in 10s
Build + Deploy / build-tts (push) Successful in 20s
Build + Deploy / build-document-crawler (push) Successful in 13s
Build + Deploy / build-dsms-gateway (push) Successful in 10s
Build + Deploy / build-dsms-node (push) Successful in 20s
CI / branch-name (push) Has been skipped
CI / guardrail-integrity (push) Has been skipped
CI / loc-budget (push) Failing after 18s
CI / secret-scan (push) Has been skipped
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / nodejs-build (push) Successful in 2m38s
CI / dep-audit (push) Has been skipped
CI / sbom-scan (push) Has been skipped
CI / test-go (push) Successful in 42s
CI / test-python-backend (push) Successful in 38s
CI / test-python-document-crawler (push) Successful in 26s
CI / test-python-dsms-gateway (push) Successful in 20s
CI / validate-canonical-controls (push) Successful in 15s
Build + Deploy / trigger-orca (push) Successful in 2m13s

Erklaert S/O/D Skalen, RPZ + AP Kennzahlen, konkretes Beispiel
(SPS Kommunikationsausfall), Workflow-Schritte. Fuer Nicht-Experten.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-05-12 09:54:56 +02:00
parent 7d9f5a1f76
commit 93028b443e
@@ -1,5 +1,6 @@
'use client'
import { useState } from 'react'
import { useParams } from 'next/navigation'
import { useFMEA, type FMEARow } from './_hooks/useFMEA'
@@ -46,6 +47,9 @@ export default function FMEAPage() {
</p>
</div>
{/* Info Box */}
<FMEAInfoBox />
{/* Export Button */}
<div className="flex justify-end">
<a
@@ -155,6 +159,51 @@ function FMEATableRow({ row }: { row: FMEARow }) {
)
}
function FMEAInfoBox() {
const [open, setOpen] = useState(false)
return (
<div className="bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-xl overflow-hidden">
<button onClick={() => setOpen(!open)} className="w-full flex items-center justify-between px-4 py-3 text-left">
<div className="flex items-center gap-2">
<svg className="w-4 h-4 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span className="text-sm font-medium text-blue-800 dark:text-blue-300">Was ist FMEA? Anleitung &amp; Beispiel</span>
</div>
<svg className={`w-4 h-4 text-blue-600 transition-transform ${open ? 'rotate-180' : ''}`} fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19 9l-7 7-7-7" />
</svg>
</button>
{open && (
<div className="px-4 pb-4 text-xs text-blue-800 dark:text-blue-300 space-y-3">
<p><strong>FMEA</strong> (Fehlermoeglich- und Einflussanalyse) ist eine systematische Methode zur vorbeugenden Qualitaetssicherung nach AIAG-VDA (2019).</p>
<div>
<strong>Bewertungsskalen (je 1-10):</strong>
<ul className="mt-1 ml-4 space-y-0.5 list-disc">
<li><strong>S (Severity)</strong> Schwere der Auswirkung: 1 = kaum merkbar, 10 = katastrophal (Lebensgefahr)</li>
<li><strong>O (Occurrence)</strong> Auftretenswahrscheinlichkeit: 1 = praktisch ausgeschlossen, 10 = sehr haeufig</li>
<li><strong>D (Detection)</strong> Entdeckbarkeit: 1 = sofort erkennbar, 10 = nicht erkennbar</li>
</ul>
</div>
<div>
<strong>Kennzahlen:</strong>
<ul className="mt-1 ml-4 space-y-0.5 list-disc">
<li><strong>RPZ</strong> = S x O x D (1-1000). Ab RPZ &gt; 100: Massnahme erforderlich.</li>
<li><strong>AP (Action Priority)</strong> AIAG-VDA Standard: <span className="inline-block px-1.5 py-0.5 bg-red-600 text-white rounded text-[10px] font-bold">H</span> = sofort handeln, <span className="inline-block px-1.5 py-0.5 bg-yellow-500 text-white rounded text-[10px] font-bold">M</span> = planen, <span className="inline-block px-1.5 py-0.5 bg-green-500 text-white rounded text-[10px] font-bold">L</span> = beobachten</li>
</ul>
</div>
<div>
<strong>Beispiel:</strong> SPS-Steuerung Kommunikationsausfall (S=8, O=3, D=5) RPZ=120, AP=M Massnahme: Redundante Kommunikation implementieren.
</div>
<div>
<strong>Workflow:</strong> 1. Komponente waehlen 2. Fehlerart identifizieren 3. S/O/D bewerten 4. AP pruefen 5. Bei H/M: Massnahme definieren 6. Nach Massnahme: neu bewerten
</div>
</div>
)}
</div>
)
}
function StatCard({ label, value, color }: { label: string; value: number; color: string }) {
const colors: Record<string, string> = {
gray: 'bg-gray-50 text-gray-700 border-gray-200',