commit 7c8a54c2658d8f90c1dfb4df43b6c1cda72e9bb8
parent 1296259621b65de9f644b9ed6616276cd4f52cf9
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 16 Oct 2026 18:38:21 -0400
umtool: the deck keeps one counter and one hint row (no bench-top counts or keys in the deck view, no per-card n/N), the hint row fades after three cards and ? brings it back; the mishearing link opens the article's Iterations tab with heard=
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
5 files changed, 26 insertions(+), 31 deletions(-)
diff --git a/plans/FACTS.md b/plans/FACTS.md
@@ -9978,8 +9978,8 @@ parsed to 0 cues, indexing the video textless) is CLOSED by `200a3105` (transcri
- **`/projects/<id>/review` is the audition deck; `?view=list` is the list** (`reviewHref(p, {view: "list"})`). The
deck's CUT writes the chosen reason, else the note "cut on the deck" (the writer still requires a rejection note);
marked words append "misheard: <words>" to the note. Undo covers keep, cut and skip (20 deep), not an edit (History).
- A mishearing's "fix this mishearing" link is the article page with `?tab=article&heard=<words>` — the parameter
- R2's respell form may read.
+ A mishearing's "fix this mishearing" link is the article's Iterations tab, `?tab=iterations&heard=<words>`
+ (URL-encoded) — R2's "Fix a mishearing" form reads `heard` there and prefills Heard.
- **`checkReports(opts)`** (common/bin/reports-check.ts) is `reports check` as data — `usage | empty | pass | fail |
error`, each fail's problems `{kind, where, message, report?, citation?, line}`; `checkMain` only prints it.
umtool's `lib/articles/checks.ts` runs it and `verifyReportQuotes` in-process over `sitesPaths()` (the store's
diff --git a/plans/release-32/review-player.md b/plans/release-32/review-player.md
@@ -26,7 +26,7 @@ replays), the list one toggle away; decisions through the existing `drafts.revie
CUT rejects (a reason chip or a few words, else "cut on the deck"), EDIT rewrites on-screen text / narration /
teaser lines / the YouTube title on the card (Enter keeps it as edited; other fields link the Media tab), SKIP goes
to the back, z undoes keep/cut/skip (20 deep). Tapping a word marks it misheard ("misheard: …" in the note; on Edit
- a "fix this mishearing" link to the article page with `heard=`). The next card is rendered underneath with its
+ a "fix this mishearing" link to the article's Iterations tab with `heard=`, where R2's form prefills it). The next card is rendered underneath with its
media preloading; the card after the next has its play lookup warmed. The decided card flies out as a picture
(160 ms; 80 ms fade with reduced motion) so no key is lost to the animation. Counter `n / N · k kept · c cut · s
skipped`; the end is a summary listing cut and skipped, "Review the skipped ones", "Review the cut ones again",
@@ -59,8 +59,8 @@ e2e `review-player.spec.ts`, `fixtures/review-player-fixture.mjs` (+ registered
- `POST /api/report/drafts` `{project, action: "edit", address, text, note?, token?}`.
- `POST /api/articles/checks` `{site, report, what: "quotes" | "check", allowMissingMedia?}`.
- `checkReports(opts): Promise<ReportsCheckResult>` (common/bin/reports-check.ts).
-- `/projects/<id>/review?view=list`; the deck links the article page with `?tab=article&heard=<words>` for R2's
- respell form.
+- `/projects/<id>/review?view=list`; the deck links the article's Iterations tab with `?tab=iterations&heard=<words>`
+ for R2's "Fix a mishearing" form.
## Gates
diff --git a/umtool/components/projects/ReviewPage.tsx b/umtool/components/projects/ReviewPage.tsx
@@ -74,8 +74,9 @@ export default async function ReviewPage({ project, view: mode }: { project: Pro
// The piece this view belongs to: the article's when an article claims the project (P4a-2).
const back = await pieceHrefOfProject(project.id, { tab: "media" });
- // Where a misheard word is fixed: the article's page (its respell form), when an article claims the project.
- const articlePage = await pieceHrefOfProject(project.id, { tab: "article" });
+ // Where a misheard word is fixed: the article's Iterations tab (R2's "Fix a mishearing" form reads `heard`),
+ // when an article claims the project.
+ const articlePage = await pieceHrefOfProject(project.id, { tab: "iterations" });
const respell = articlePage.startsWith("/projects/") ? null : articlePage;
// To review: the drafted fields awaiting a verdict (the Media tab's count, the Inbox's).
const toReview = awaitingReview(view.rows, provenance).length;
@@ -88,15 +89,10 @@ export default async function ReviewPage({ project, view: mode }: { project: Pro
back={{ href: back, label: project.id }}
kind="Drafts review"
here="review"
- keys={
- !view.rows.length
- ? []
- : list
- ? [{ keys: ["j", "k"], label: "field" }, { keys: ["a"], label: "approve" }, { keys: ["r"], label: "reject" }]
- : [{ keys: ["→"], label: "keep" }, { keys: ["←"], label: "cut" }, { keys: ["↑"], label: "edit" }, { keys: ["↓"], label: "skip" }, { keys: ["␣"], label: "replay" }, { keys: ["z"], label: "undo" }]
- }
+ keys={list && view.rows.length ? [{ keys: ["j", "k"], label: "field" }, { keys: ["a"], label: "approve" }, { keys: ["r"], label: "reject" }] : []}
note={
- view.rows.length
+ // The deck keeps ONE counter and ONE hint row, its own (release 32 R1).
+ list && view.rows.length
? `${view.rows.length} fields · ${counts.approved} approved` + (counts.rejected ? ` · ${counts.rejected} rejected` : "") + (toReview ? ` · ${toReview} to review` : "")
: undefined
}
diff --git a/umtool/components/projects/review/AuditionDeck.tsx b/umtool/components/projects/review/AuditionDeck.tsx
@@ -99,6 +99,7 @@ export default function AuditionDeck({
// it only, so a key pressed during the exit is never lost.
const [ghost, setGhost] = useState<null | { address: string; dir: "right" | "left" | "down"; dx: number; dy: number; id: number }>(null);
const [reduced, setReduced] = useState(false);
+ const [hints, setHints] = useState(false);
const clip = useRef<CitedClipHandle | null>(null);
const card = useRef<HTMLDivElement | null>(null);
const start = useRef<{ x: number; y: number; t: number; id: number } | null>(null);
@@ -124,6 +125,7 @@ export default function AuditionDeck({
const done = decided.size;
// Where the deck is: every card ruled or skipped so far, then this one.
const at = Math.min(done + skipped.size + 1, total);
+ const hintShown = hints || done + skipped.size < 3;
// The card after the next: ask what plays it before it is shown.
useEffect(() => {
@@ -285,6 +287,7 @@ export default function AuditionDeck({
setStarted(true);
clip.current?.playSpan();
});
+ else if (k === "?") act(() => setHints((h) => !h));
else if (k === "m") act(() => card.current?.querySelector<HTMLButtonElement>("[data-word]")?.focus());
else if (k === "Escape") (document.activeElement as HTMLElement | null)?.blur?.();
};
@@ -470,8 +473,6 @@ export default function AuditionDeck({
address={top}
row={row}
ev={ev}
- index={at}
- total={total}
playing={started}
clipRef={clip}
marked={misheard.get(top) ?? null}
@@ -577,11 +578,14 @@ export default function AuditionDeck({
<DeckButton action="skip" label="Skip" k="↓" disabled={busy} onClick={() => decide("down")} />
<DeckButton action="keep" label="Keep" k="→" go disabled={busy} onClick={() => decide("right")} />
</nav>
- {done < 3 && (
- <p data-deck-hint="" className="m-0 hidden text-center font-mono text-[11px] text-muted md:block">
- ← cut · ↑ edit · ↓ skip · keep → · space replays · z undoes
- </p>
- )}
+ {/* The one hint row: it fades once three cards are decided; `?` brings it back. */}
+ <p
+ data-deck-hint={hintShown ? "shown" : "hidden"}
+ aria-hidden={!hintShown}
+ className={cn("m-0 hidden text-center font-mono text-[11px] text-muted transition-opacity duration-500 md:block", hintShown ? "opacity-100" : "opacity-0")}
+ >
+ ← cut · ↑ edit · ↓ skip · keep → · space replays · z undoes · ? keys
+ </p>
</div>
</main>
);
@@ -609,8 +613,6 @@ function Card({
address,
row,
ev,
- index,
- total,
preload = false,
playing = false,
clipRef,
@@ -629,8 +631,6 @@ function Card({
address: string;
row: DraftRow | null;
ev: FieldEvidence | null;
- index?: number;
- total?: number;
preload?: boolean;
playing?: boolean;
clipRef?: React.Ref<CitedClipHandle>;
@@ -659,11 +659,6 @@ function Card({
<div className="flex items-baseline gap-2">
<span className="micro">{row?.label ?? address}</span>
{row?.entry && <span className="font-mono text-[11px] text-muted">{row.entry}</span>}
- {index !== undefined && total !== undefined && (
- <span className="ml-auto font-mono text-[11px] text-muted">
- {index}/{total}
- </span>
- )}
</div>
{editing && !editable ? (
<div className="space-y-1.5" data-card-edit-elsewhere="">
diff --git a/umtool/e2e/review-player.spec.ts b/umtool/e2e/review-player.spec.ts
@@ -39,6 +39,10 @@ test("the audition deck: play the span, keep, fetch a missing clip, cut, undo, e
await expect(card.locator("[data-card-value]")).toHaveText("On disk title");
await expect(card.locator("[data-card-drafted]")).toHaveText("drafted by qwen3:8b · onscreen");
await expect(page.locator("[data-deck-count]")).toContainText("1 / 3 · 0 kept · 0 cut");
+ // One counter and one hint row, the deck's own: none in the bench's top bar.
+ await expect(page.locator("[data-bench-top] [data-bench-keys]")).toHaveCount(0);
+ await expect(page.locator("[data-bench-top]")).not.toContainText("to review");
+ await expect(page.locator("[data-deck-hint]")).toHaveAttribute("data-deck-hint", "shown");
// Video first: the project's cached window, served with ranges.
await expect(card.locator("[data-play]")).toHaveAttribute("data-play", "window", { timeout: 15_000 });