Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 67e21836c6cb43d9c92011dd8b9d4ba80a6b7060
parent 4fc34eede4e123439f7e7ca354354a4bf175fb16
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon,  9 Nov 2026 21:38:53 -0500

umtool: Quick clip names the recording's life cycle (L5's ingredientHref); needs-you.spec reads Play's address as it keeps its place (redesign L4)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/components/inbox/QuickClip.tsx | 7++++---
Mumtool/e2e/needs-you.spec.ts | 3++-
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/umtool/components/inbox/QuickClip.tsx b/umtool/components/inbox/QuickClip.tsx @@ -5,7 +5,7 @@ import { useEffect, useRef, useState } from "react"; import WordStrip from "@/components/projects/bench/WordStrip"; import CopyShareLine from "@/components/projects/CopyShareLine"; import { buttonVariants } from "@/components/ui/button"; -import { takesHref } from "@/lib/hrefs"; +import { ingredientHref, takesHref } from "@/lib/hrefs"; import { cn } from "@/lib/utils"; // --------------------------------------------------------------------------- @@ -171,9 +171,10 @@ export default function QuickClip() { {strip && cut && ( <div className="mt-2.5 space-y-2" data-quick-clip-strip={strip.spec}> <p className="m-0 truncate text-[12px] text-text-2" title={strip.title ?? undefined}> - <span className="font-mono text-muted"> + {/* The recording's life cycle (lane L5's rail): where it is downloaded, transcribed, cut and cited. */} + <Link href={ingredientHref(strip.channel, strip.video)} prefetch={false} data-quick-clip-ingredient="" className="font-mono text-muted no-underline hover:underline" title="its life cycle"> {strip.channel}/{strip.video} - </span> + </Link> {strip.title ? ` ยท ${strip.title}` : ""} </p> <WordStrip hood={{ words: strip.words, cues: strip.cues }} cut={cut} playhead={null} onSeek={() => {}} onWord={onWord} className="max-h-[7.5em] text-[12.5px]" /> diff --git a/umtool/e2e/needs-you.spec.ts b/umtool/e2e/needs-you.spec.ts @@ -146,7 +146,8 @@ test("Play and judge: the card opens Play on the version; Like writes verdicts.j await page.goto("/"); const versions = card(page, "version-unjudged", `p:${P}`); await versions.locator("[data-action-link]").click(); - await expect(page).toHaveURL(/\/play\?take=short$/); + // Play keeps where it is in its address (clip, at): the version is the take. + await expect(page).toHaveURL(/\/play\?take=short(&|$)/); const verdict = page.locator("[data-play-take='short'] [data-play-verdict]"); await expect(verdict.locator("[data-play-verdict-button='like']")).toBeEnabled({ timeout: 60_000 }); await shot(page, "needs-you-play-judge");