Merge branch 'fix/compose-env-and-claims' into release/v1.39.3

This commit is contained in:
Marc-André Bombeck committed 2026-09-26 17:00:46 +02:00
commit 026e8fc1ed
64 files changed
+1059 -158

No files matched your search

@@ -80,6 +80,9 @@ export function VersionTileSection() {
const newer = update?.status === "newer_available";
const upToDate = update?.status === "up_to_date";
// The operator turned the GitHub request off (UPDATE_CHECK_DISABLED); say
// so rather than leaving the slot empty like an unreachable feed.
const checkOff = update?.status === "unknown" && update.reason === "disabled";
const sha = shortSha(version?.buildSha ?? null);
return (
@@ -110,6 +113,10 @@ export function VersionTileSection() {
<CheckCircle2 className="h-3.5 w-3.5" aria-hidden="true" />
{t("admin.overview.versionTileUpToDate")}
</span>
) : checkOff ? (
<span className="text-muted-foreground text-xs">
{t("admin.overview.versionTileCheckOff")}
</span>
) : null
}
/>
@@ -134,7 +134,7 @@ describe("<DoneScreen> AI panel", () => {
const html = render();
expect(html).toContain('data-slot="onboarding-ai-panel"');
// Local model is surfaced first (the calm private default).
expect(html).toContain("nothing leaves your network");
expect(html).toContain("AI requests stay on your network");
// The honest release valve is present and prominent.
expect(html).toContain('data-slot="onboarding-ai-keyless"');
expect(html).toContain("fully useful without AI");
+1 -1
View File
@@ -48,7 +48,7 @@ import {
subscribeToMeaningfulVisibilityRefresh,
} from "@/lib/pwa/query-client-options";
const SHELL_VERSION = process.env.NEXT_PUBLIC_APP_VERSION ?? "";
const SHELL_VERSION = process.env.NEXT_PUBLIC_APP_VERSION || "";
// ── Theme Context ────────────────────────────────────
+1 -1
View File
@@ -48,7 +48,7 @@ import { useTranslations } from "@/lib/i18n/context";
const POLL_INTERVAL_MS = 60_000;
const SESSION_GUARD_KEY = "healthlog:version-reload-attempted";
const SHELL_VERSION = process.env.NEXT_PUBLIC_APP_VERSION ?? "";
const SHELL_VERSION = process.env.NEXT_PUBLIC_APP_VERSION || "";
export type VersionPollDecision = "up-to-date" | "reload" | "already-attempted";