Eine Zeile der Faktenliste. Der `title` sagt, woher die Zahl kommt.
({ label, value, source }: { label: string; value: string; source: string })
| 50 | |
| 51 | /** Eine Zeile der Faktenliste. Der `title` sagt, woher die Zahl kommt. */ |
| 52 | function Row({ label, value, source }: { label: string; value: string; source: string }): JSX.Element { |
| 53 | return ( |
| 54 | <div className="atlas-llm-row" data-testid="atlas-llm-row" data-row={label}> |
| 55 | <dt className="atlas-llm-row-label">{label}</dt> |
| 56 | <Hint name="llm-row" text={messages.llm.readFrom(source)}> |
| 57 | <dd className="atlas-llm-row-value">{value}</dd> |
| 58 | </Hint> |
| 59 | </div> |
| 60 | ); |
| 61 | } |
| 62 | |
| 63 | function messageFor(props: SidecarPanelProps): string { |
| 64 | switch (props.state) { |
nothing calls this directly
no outgoing calls
no test coverage detected