mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-01 15:49:00 +08:00
67475be340
- Replace @svar-ui/react-filemanager with custom file manager built on @tanstack/react-table, @dnd-kit, and shadcn/ui (ContextMenu, Breadcrumb, Table, Checkbox, ToggleGroup, Collapsible) - List view with sortable columns (folders-first), Grid view with card layout - Right-click context menu, row dropdown actions, drag-and-drop file moving - Dialogs: rename, new folder, delete confirm, move (with folder picker) - URL-based path navigation (?path=folder/subfolder), breadcrumb from URL - Backend: parent field stores materialized path instead of folder ID, cascade rename/move updates all descendants, self-move protection - Backend: type filter API (?type=photos|videos|music|documents) for cross-folder file browsing by MIME type - Sidebar: My Files with lazy-loading folder tree (auto-expands to current path), Photos/Videos/Music/Documents categories, Trash - Settings moved to user avatar dropdown menu - Migrate pnpm references to npm across docs and config - i18n: all new keys in en.json and zh.json Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>