diff --git a/src/app/targets/page.tsx b/src/app/targets/page.tsx index e09739f5c..20f8a80c2 100644 --- a/src/app/targets/page.tsx +++ b/src/app/targets/page.tsx @@ -216,44 +216,46 @@ export default function TargetsPage() {
{t("targets.introText")}
- {/* v1.8.6 — deprecation banner. Target editing moved inline into + {/* v1.8.6 — single warning banner. Target editing moved inline into the Insights category pages; this page stays reachable but will - be removed in a future release. */} + be removed in a future release. + + Design Low fix: the deprecation notice and the profile-incomplete + hint used to stack as two near-identical warning cards. They are + folded into one card now — the deprecation message stays the + headline, and the profile-incomplete detail (height / age missing) + renders as a secondary line beneath it only when relevant, so the + page never shows two warning banners. */}- {t("targets.deprecation.title")} -
-- {t("targets.deprecation.body")} -
++ {t("targets.deprecation.title")} +
++ {t("targets.deprecation.body")} +
++ {t("targets.profileIncomplete")} +
++ {!data.profile.heightCm && !data.profile.age + ? t("targets.profileIncompleteHeightAge") + : !data.profile.heightCm + ? t("targets.profileIncompleteHeight") + : t("targets.profileIncompleteAge")} +
+- {t("targets.profileIncomplete")} -
-- {!data.profile.heightCm && !data.profile.age - ? t("targets.profileIncompleteHeightAge") - : !data.profile.heightCm - ? t("targets.profileIncompleteHeight") - : t("targets.profileIncompleteAge")} -
-