"use client" /** * Folder details panel — OsFolderGlyph header + aggregates (`library-inspector` helpers today). * Reusable across list hubs that share `LibraryFolder` / `LibraryItem` shapes or adapters. */ import * as React from "react" import { OsFolderGlyph } from "@/components/data-views/os-folder-glyph" import { Button } from "@/components/ui/button" import { Separator } from "@/components/ui/separator" import { Tip } from "@/components/ui/tip" import { cn } from "@/lib/utils" import type { LibraryItem } from "@/lib/mock/library" import type { LibraryFolder } from "@/lib/mock/library-folders" import { aggregateFolderQuestions, BLOOM_LEVEL_ORDER, questionsInFolderSubtree, } from "@/lib/mock/library-inspector" function DetailBreadcrumbNav({ segments }: { segments: { id: string; label: string }[] }) { if (segments.length === 0) return null return (