// AK-P17b Interim-UI (AD-28) — survey results composed from ~/ui (D-HR "Umfrage // Ergebnisse", archetype A3). Pure presentational: per-item distribution (bar) + // average + free-text responses. Final Subframe optics (richer charts) = tracked // design-nachzug. import { useTranslation } from "react-i18next"; import type { HrSurveyResultsVM } from "@hivegrid/view-models"; import { BadgeFeedback } from "~/ui/components/BadgeFeedback"; import { Card } from "~/ui/components/Card"; import { EmptyState } from "~/ui/components/EmptyState"; import { Progress } from "~/ui/components/Progress"; export type HrSurveyResultsPageProps = { vm: HrSurveyResultsVM }; export function HrSurveyResultsPage({ vm }: HrSurveyResultsPageProps) { const { t } = useTranslation(); const data = vm.data; if (vm.status !== "ready" || !data) { return
; } return (