feat(hk): expand search and add operational user overview
CI / check (push) Successful in 54s
CI / deploy (push) Successful in 1m16s
CI / publish-container (push) Successful in 1m57s

This commit is contained in:
Simo committed 2026-09-09 21:14:10 +02:00
1 parent 27447ce029
commit 89526af344
44 files changed
+3740 -416

No files matched your search

+6 -4
View File
@@ -36,16 +36,18 @@ describe("staff smoke contract", () => {
expect(detail).toContain("canLiftBan");
});
it("exposes sanction timeline on user show", () => {
it("exposes operational overview on user show", () => {
expect(
existsSync("src/app/admin/users/_components/user-sanction-timeline.tsx"),
existsSync(
"src/app/admin/users/_components/user-operational-overview.tsx",
),
).toBe(true);
expect(existsSync("src/app/admin/users/_lib/load-user-sanctions.ts")).toBe(
expect(existsSync("src/app/admin/users/_lib/load-user-overview.ts")).toBe(
true,
);
expect(
readFileSync("src/app/admin/users/show/[id]/page.tsx", "utf8"),
).toContain("UserSanctionTimeline");
).toContain("UserOperationalOverview");
});
it("applies CMS SQL from drizzle/migrations (not Prisma)", () => {