/** * Component: Manual Import Browse Phase * Documentation: documentation/features/manual-import.md * * Directory listing with root tiles, breadcrumb navigation, * folder metadata, audio file badges, and selection state. */ 'use client'; import React from 'react'; import { FolderIcon, FolderOpenIcon, FolderArrowDownIcon, InboxArrowDownIcon, HomeIcon, ChevronRightIcon, ArrowLeftIcon, MusicalNoteIcon, ExclamationTriangleIcon, ArrowPathIcon, } from '@heroicons/react/24/outline'; import { RootEntry, DirectoryEntry, AudioFileEntry, formatBytes } from './types'; function SkeletonRow() { return (
{error}
Audio Files {hasSelection && `\u00B7 click to select`}
This folder is empty
{hasSelection ? ( <> {checkedFiles.size} {' '}of {currentAudioFiles.length} file{currentAudioFiles.length !== 1 ? 's' : ''} selected > ) : ( <> {currentAudioFiles.length} {' '}audio file{currentAudioFiles.length !== 1 ? 's' : ''} in this folder > )} {checkedSize > 0 && ( · {formatBytes(checkedSize)} )}