From 84db5e3c02fd14b27f124a528df42d12576a153d Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 20 Sep 2026 13:38:10 +0300 Subject: [PATCH] Fixtures/screenshots tweaks --- .../scanner/components/FixturesPage.tsx | 52 +++++++++++-------- .../scanner/components/ScreenshotPage.tsx | 37 +++++++------ 2 files changed, 51 insertions(+), 38 deletions(-) diff --git a/app/features/scanner/components/FixturesPage.tsx b/app/features/scanner/components/FixturesPage.tsx index f6a0f9b75..a152746ca 100644 --- a/app/features/scanner/components/FixturesPage.tsx +++ b/app/features/scanner/components/FixturesPage.tsx @@ -1,5 +1,7 @@ import clsx from "clsx"; +import { ExternalLink } from "lucide-react"; import { type ReactNode, useEffect, useState } from "react"; +import { SendouButton } from "~/components/elements/Button"; import { useSearchParam } from "~/modules/search-params/hooks"; import { mainWeaponImageUrl, SCANNER_PAGE } from "~/utils/urls"; import type { Roi } from "../core/canonical"; @@ -12,6 +14,7 @@ import { newInspectKey, putInspectFrame } from "../store/inspect"; import styles from "./FixturesPage.module.css"; import { drawNormalizedCanvas } from "./normalized-canvas"; import { formatTimer, RoiCrop } from "./ScreenshotPage"; +import { SessionHeader } from "./SessionHeader"; const FIXTURES_ENDPOINT = "/scanner/fixtures"; /** Filtering down to this many cases opens every card, for one-glance review */ @@ -76,25 +79,27 @@ export function FixturesPage() { return (
- Ground-truth review: check each expected label against its frame. The - filter lives in the URL, so a narrowed selection can be shared as a - link. -
++ Ground-truth review: check each expected label against its frame. The + filter lives in the URL, so a narrowed selection can be shared as a + link. +
+{error}
: null} {[...groups.entries()].map(([detector, group]) => ({error}
: null}