Archilyzer · Source

archilyzer

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

commit d1eadbce3a86151799c5ce23ef1cf06c9444c775
parent b5be847c7caaaa4c858ab4848245cbcb6da6d830
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri, 13 Nov 2026 02:30:52 -0500

privacy D4: the provenance inspector's site suggestions are drawn through the displayers

umtool's masked e2e, now given /projects/at?path=…, read a project page and
found a site's title in the provenance inspector's <datalist> of site
origins (client-side: useDisplay). hidePrivateSites does not reach it yet --
the list comes from an API with no audience on it (slice 2).

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/inspector/ProvenanceInspector.tsx | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/umtool/components/projects/inspector/ProvenanceInspector.tsx b/umtool/components/projects/inspector/ProvenanceInspector.tsx @@ -2,6 +2,7 @@ import { useCallback, useEffect, useState } from "react"; import { useRouter } from "next/navigation"; +import { useDisplay } from "yt-dlp-transcript-common/components/PrivacyProvider"; import { Button } from "@/components/ui/button"; import { Field, Input } from "@/components/ui/field"; import LinkPolicyPanel from "../report/LinkPolicyPanel"; @@ -24,6 +25,8 @@ const KEYS = ["siteOrigin", "channelSlug", "channel"] as const; export default function ProvenanceInspector({ project }: InspectorProps) { const router = useRouter(); + // settings.privacy: a site's title as the suggestion DRAWS it (client-side). + const { displayText } = useDisplay(); const [view, setView] = useState<View | null>(null); const [draft, setDraft] = useState<Record<(typeof KEYS)[number], string>>({ siteOrigin: "", channelSlug: "", channel: "" }); const [busy, setBusy] = useState(false); @@ -83,7 +86,7 @@ export default function ProvenanceInspector({ project }: InspectorProps) { <datalist id={`prov-sites-${project}`}> {view.sites.map((s) => ( <option key={s.origin} value={s.origin}> - {s.title ?? s.siteId} + {displayText(s.title ?? s.siteId)} </option> ))} </datalist>