feat: show file match count badge in search results

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-24 16:19:40 +01:00
parent 0faacc214b
commit 094001f9f7
3 changed files with 24 additions and 6 deletions

View File

@@ -29,6 +29,7 @@ interface StlTableProps {
totalCount: number;
ingestionStatus: IngestionAccountStatus[];
availableTags: string[];
searchTerm: string;
}
export function StlTable({
@@ -37,6 +38,7 @@ export function StlTable({
totalCount,
ingestionStatus,
availableTags,
searchTerm,
}: StlTableProps) {
const router = useRouter();
const pathname = usePathname();
@@ -77,6 +79,7 @@ export function StlTable({
const columns = getPackageColumns({
onViewFiles: (pkg) => setViewPkg(pkg),
searchTerm,
onSetCreator: (pkg) => {
const value = prompt("Enter creator name:", pkg.creator ?? "");
if (value === null) return;