commit 8799798de8afc77cc4f9faca8edf751b9fc5d4c7
parent c66391596fcd85ea022b23367cb5d03b3a9151fc
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 25 Sep 2026 20:24:35 -0400
hub: a scope chip's title says what its number counts (videos in the search) and what pressing it does
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/export/app/components/hub/HubScope.tsx b/export/app/components/hub/HubScope.tsx
@@ -3,7 +3,8 @@
// The row of scope chips above the query builder: one per archive on the hub,
// official and added. Pressing a chip takes that archive in or out of the
// search (useHubScope remembers it per browser). Each chip says what its
-// archive is doing — loading, its transcript count once ready, or failed with
+// archive is doing — loading, its record count once ready (its summaries
+// manifest's totalCount, the number the results header counts), or failed with
// a Retry beside it — so a slow or dead member is visible, not a silent gap.
import { cn } from "yt-dlp-transcript-common/lib/utils";
@@ -56,7 +57,11 @@ export default function HubScope({
<button
type="button"
aria-pressed={on}
- title={on ? `Stop searching ${s.siteTitle}` : `Search ${s.siteTitle}`}
+ title={
+ on
+ ? `${s.status === "ready" && s.count !== undefined ? `${s.count.toLocaleString()} videos from ${s.siteTitle} are in the search. ` : ""}Press to leave ${s.siteTitle} out.`
+ : `Press to search ${s.siteTitle} again.`
+ }
onClick={() => onToggle(s.origin)}
className={cn(
"flex min-w-0 items-center gap-1.5 px-2.5 py-1.5 select-none hover:bg-accent hover:text-accent-foreground",