mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-24 23:22:31 +08:00
- 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>
10 lines
149 B
YAML
10 lines
149 B
YAML
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
lint:
|
|
run: npm run lint
|
|
typecheck:
|
|
run: npm run typecheck
|
|
test:
|
|
run: npm test
|