ci: trigga på master + formatfix inför Gitea Actions
CI / Typecheck, test & build (push) Failing after 2s

This commit is contained in:
Sven (AAMOS AI)
2026-08-13 17:25:14 +07:00
parent 61d60931ad
commit c32a7e33c7
141 changed files with 40555 additions and 45210 deletions
+1 -3
View File
@@ -84,9 +84,7 @@ export function AnalyticsPage() {
};
const loadRetention = () => {
api<RetentionResult>(
`/admin/v1/analytics/retention?startDate=${retStart}&endDate=${retEnd}`,
)
api<RetentionResult>(`/admin/v1/analytics/retention?startDate=${retStart}&endDate=${retEnd}`)
.then(setRetention)
.catch((e) => setError(String(e.message)));
};
+12 -7
View File
@@ -114,10 +114,7 @@ export function ReleaseGatesPage() {
}
};
const categories = useMemo(
() => Array.from(new Set(gates.map((g) => g.category))),
[gates],
);
const categories = useMemo(() => Array.from(new Set(gates.map((g) => g.category))), [gates]);
const filtered = useMemo(
() => (category === "all" ? gates : gates.filter((g) => g.category === category)),
@@ -151,8 +148,14 @@ export function ReleaseGatesPage() {
<div className="stat-grid" style={{ marginTop: "1rem" }}>
<div className="stat">
<div className="value">
<span className={`badge ${summary.overall === "go" ? "ok" : summary.overall === "no_go" ? "err" : ""}`}>
{summary.overall === "go" ? "GO" : summary.overall === "no_go" ? "NO-GO" : "Väntar"}
<span
className={`badge ${summary.overall === "go" ? "ok" : summary.overall === "no_go" ? "err" : ""}`}
>
{summary.overall === "go"
? "GO"
: summary.overall === "no_go"
? "NO-GO"
: "Väntar"}
</span>
</div>
<div className="label">Övergripande beslut</div>
@@ -209,7 +212,9 @@ export function ReleaseGatesPage() {
</td>
<td>{g.evaluationWindowDays} dagar</td>
<td>{g.blocking ? "Ja" : "Nej"}</td>
<td>{g.lastEvaluatedAt ? new Date(g.lastEvaluatedAt).toLocaleString("sv-SE") : ""}</td>
<td>
{g.lastEvaluatedAt ? new Date(g.lastEvaluatedAt).toLocaleString("sv-SE") : ""}
</td>
</tr>
))}
</tbody>