CaseGoals
Stellt je Ziel das tatsächliche Ergebnis gegenüber oder zeigt es als eigene Zieltafel mit offenem Status.
src/components/case/CaseGoals.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/case/CaseData.astro
- variant board zeigt ohne tag einen Erledigt-Haken; ein fehlender Status darf daher keinen unbelegten Abschluss suggerieren.
- In der Standarddarstellung stapelt ein Ergebnis über 24 sichtbaren Zeichen sämtliche Zeilen; Layout ist aus dem Inhalt abgeleitet.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {rows:{label:string;goal:string;result:string;tag?:string;tone?:string}[];locale:Locale;variant?:'board';caseId?:string}Astro.props
Bindings and defaults read from source; these do not add inferred types.
rowslocalevariantcaseId
Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
Documentation
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseBlock.astro
- src/components/case/CaseData.astro
- src/components/case/CaseGoals.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
@/i18n·src/i18n/index.ts@/components/Panel.astro·src/components/Panel.astro./CaseText.astro·src/components/case/CaseText.astro@/components/Zeichen.astro·src/components/Zeichen.astro@/lib/case-presentation·src/lib/case-presentation.ts@/components/ui/badge·src/components/ui/badge.tsx@/lib/case-presentation·src/lib/case-presentation.ts@/lib/case-presentation·src/lib/case-presentation.ts