fix(ci): fix 3 pre-existing CI failures + doc updates

- i18n: add 115 missing EN translation keys (parity with FA)
- csrf: test /dashboard-legacy/keys (SPA owns /dashboard/*)
- oauth: add tier scopes to test fixture allowed_scopes
- DOCKER_README: v3.13.0 — remove Appwrite/Directus, clarify 8 plugins
- getting-started: remove Appwrite/Directus, add Coolify endpoint row
- Overview.tsx: fix Lang type for AdminStatsPanel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 00:05:33 +02:00
parent 43fd2201a0
commit 349913ca2d
7 changed files with 212 additions and 71 deletions

View File

@@ -6,6 +6,7 @@ import { useDashboardStats, useSession, useSites, useUserKeys } from "../lib/que
import type { DashboardStats } from "../lib/types";
import { useT } from "../lib/i18n";
import { useUiStore } from "../lib/store";
import type { Lang } from "../lib/store";
import { fmtNumber, fmtInt, fmtDateTime, normalizeSiteStatus } from "../lib/format";
export function OverviewPage() {
@@ -263,7 +264,7 @@ function AdminStatsPanel({
t,
}: {
stats: DashboardStats | undefined;
lang: string;
lang: Lang;
t: (key: string, fallback: string) => string;
}) {
if (!stats) return null;