mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
fix(insights): rename the review section and even its top spacing
Shorten the period-narrative section title to 'Rückblick' (and the idiomatic short equivalent per locale) — the same i18n key the customizable-overview edit-mode labels read, so the rename flows through automatically. Drop the redundant 300px min-height floor on the Trends cards. The chart slot is a fixed 180px and the caption is clamped to three lines, so the floor padded dead space below every caption that read as an oversized Trends to Rückblick seam. The grid's auto-rows-fr plus the fixed chart slot already pin the cards to a single baseline, so the seam now matches the uniform rhythm.
This commit is contained in:
1 parent
8cd0d3f1e9
commit
4be7d8ac5b
7 files changed
+16
-7
No files matched your search
+1
-1
@@ -1659,7 +1659,7 @@
|
||||
"regenerateAnalysis": "Einschätzung neu erstellen",
|
||||
"regenerateSuccess": "Einschätzung wurde neu erstellt",
|
||||
"warmStarted": "Einschätzungen werden im Hintergrund erstellt",
|
||||
"narrativeTitle": "Zeitraum im Rückblick",
|
||||
"narrativeTitle": "Rückblick",
|
||||
"narrativeWeek": "Diese Woche",
|
||||
"narrativeMonth": "Dieser Monat",
|
||||
"narrativePreparing": "Deine Zusammenfassung wird erstellt…",
|
||||
|
||||
+1
-1
@@ -1659,7 +1659,7 @@
|
||||
"regenerateAnalysis": "Re-run assessment",
|
||||
"regenerateSuccess": "Assessment refreshed",
|
||||
"warmStarted": "Assessments are being prepared in the background",
|
||||
"narrativeTitle": "Period in review",
|
||||
"narrativeTitle": "In review",
|
||||
"narrativeWeek": "This week",
|
||||
"narrativeMonth": "This month",
|
||||
"narrativePreparing": "Preparing your summary…",
|
||||
|
||||
+1
-1
@@ -1659,7 +1659,7 @@
|
||||
"regenerateAnalysis": "Volver a generar la valoración",
|
||||
"regenerateSuccess": "Valoración regenerada",
|
||||
"warmStarted": "Las valoraciones se están preparando en segundo plano",
|
||||
"narrativeTitle": "Período en resumen",
|
||||
"narrativeTitle": "Resumen",
|
||||
"narrativeWeek": "Esta semana",
|
||||
"narrativeMonth": "Este mes",
|
||||
"narrativePreparing": "Preparando tu resumen…",
|
||||
|
||||
+1
-1
@@ -1659,7 +1659,7 @@
|
||||
"regenerateAnalysis": "Relancer l’évaluation",
|
||||
"regenerateSuccess": "Évaluation regénérée",
|
||||
"warmStarted": "Les évaluations sont en cours de préparation en arrière-plan",
|
||||
"narrativeTitle": "Période en revue",
|
||||
"narrativeTitle": "Rétrospective",
|
||||
"narrativeWeek": "Cette semaine",
|
||||
"narrativeMonth": "Ce mois-ci",
|
||||
"narrativePreparing": "Préparation de votre résumé…",
|
||||
|
||||
+1
-1
@@ -1659,7 +1659,7 @@
|
||||
"regenerateAnalysis": "Rigenera la valutazione",
|
||||
"regenerateSuccess": "Valutazione rigenerata",
|
||||
"warmStarted": "Le valutazioni vengono preparate in background",
|
||||
"narrativeTitle": "Periodo in sintesi",
|
||||
"narrativeTitle": "Riepilogo",
|
||||
"narrativeWeek": "Questa settimana",
|
||||
"narrativeMonth": "Questo mese",
|
||||
"narrativePreparing": "Preparazione del riepilogo…",
|
||||
|
||||
+1
-1
@@ -1659,7 +1659,7 @@
|
||||
"regenerateAnalysis": "Uruchom ocenę ponownie",
|
||||
"regenerateSuccess": "Ocena wygenerowana ponownie",
|
||||
"warmStarted": "Oceny są przygotowywane w tle",
|
||||
"narrativeTitle": "Okres w skrócie",
|
||||
"narrativeTitle": "Przegląd",
|
||||
"narrativeWeek": "Ten tydzień",
|
||||
"narrativeMonth": "Ten miesiąc",
|
||||
"narrativePreparing": "Przygotowywanie podsumowania…",
|
||||
|
||||
@@ -243,7 +243,16 @@ export function TrendsRow({
|
||||
key={config.metric}
|
||||
data-slot="trends-row-card"
|
||||
data-metric={config.metric}
|
||||
className="flex h-full flex-col gap-2 md:min-h-[300px]"
|
||||
// v1.15.12 D1 — drop the `md:min-h-[300px]` floor. The chart
|
||||
// slot is a fixed 180 px and the caption is `line-clamp-3`, so a
|
||||
// card's natural height tops out around 270 px; the 300 px floor
|
||||
// padded ~30 px of dead space below every caption, which read as
|
||||
// an oversized Trends→Rückblick seam (the `space-y-6` gap is even,
|
||||
// the empty card tail was the culprit). `auto-rows-fr` +
|
||||
// `md:items-stretch` on the grid already pin every card to a
|
||||
// single baseline, and the fixed chart slot aligns the charts, so
|
||||
// the floor was redundant. Cards now size to content.
|
||||
className="flex h-full flex-col gap-2"
|
||||
>
|
||||
{/* v1.4.28 R3c-Insights — fixed chart slot. The mini
|
||||
chart paints its own band; this wrapper pins the
|
||||
|
||||
Reference in new issue
Block a user