refactor: complete File.tsx component splitting and fix TypeScript errors Complete the refactoring of File.tsx (1,627 LOC) into a modular component architecture spread across 9 files (1,932 LOC total). Components created: - FileContainer.tsx (341 LOC) - Main orchestrator with region visualization - WaveformPlayer.tsx (167 LOC) - Audio player with waveform/spectrogram - SelectionList.tsx (615 LOC) - Selection table with inline editing - FileHeader.tsx (45 LOC) - File metadata and breadcrumb display - FilterDropdown.tsx (33 LOC) - Filter selection dropdown - index.tsx - Barrel exports for clean imports Benefits: - Modular architecture with single-responsibility components - Reusable hooks (useWaveSurfer, useSelections, useFileContext) - Better separation of concerns and testability - Improved maintainability TypeScript fixes: - Remove unused interfaces in fileImport.ts and selections.ts - Fix Zod schema callTypes property (optional → default) - Fix optional property handling in Datasets.tsx - Fix header types in apiClient.ts - Remove unused imports in ErrorBoundary.tsx and useWaveSurfer.ts React optimization: - Use useMemo for filtered selections to avoid unnecessary re-renders - Properly track hook dependencies for React Compiler compatibility - Inline filter logic to eliminate eslint-disable directives All components compile cleanly with zero TypeScript errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Created by  AEj8dahVWy718uSSFPe9VSRJ5qX5G8pC2zvFzJJ8yzBd  on December 31, 2025
WKMQS2LC3V6LPP4ZDMGHIDLJUBLZFE5VLCKPMBJ5UJ6JNE2WZM4AC
Dependencies
In channels
main
Change contents