summaryrefslogtreecommitdiff
path: root/frontend/app/drive
Commit message (Collapse)AuthorAgeFilesLines
* Fix SSR storage data fetching in drive pagesdiogo4642025-08-132-42/+2
| | | | | | | | | | | | - Replace HTTP fetch with direct function import - Remove environment-dependent URL construction - Fix 'Failed to parse URL from /api/storage' error in production - Import fetchStorageData directly from lib/storage - Enable static rendering for /drive page 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Implement real-time storage usage UI with two-color progress bardiogo4642025-08-132-4/+54
| | | | | | | | | | | | | - Add /api/storage endpoint that fetches live data from fctdrive drive-size and df commands - Implement 10-second caching to avoid excessive system calls - Create StorageUsage component with two-color bar showing active drive usage vs total disk usage - Update drive pages to fetch and pass storage data server-side - Replace hardcoded storage values with real system data - Display active drive usage (blue), other disk usage (gray), and available space 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Fix URL encoding for paths with special charactersdiogo4642025-08-121-1/+3
| | | | | | | | | | - Add URL decoding in upload endpoint for path parameter - Add URL decoding for path segments in drive page navigation - Ensures proper handling of directories/files with spaces and unicode chars 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Clean up old UI code and rename V2 to Drivediogo4642025-08-122-0/+21
| | | | | | | | | | | | | | | - Remove old UI components: file-drive.tsx, history-view.tsx - Remove unused API endpoints: /api/tree, /api/log, /api/fs/route.ts - Rename /v2 routes to /drive routes for cleaner URLs - Rename V2* components to Drive* components (V2DirectoryView -> DriveDirectoryView, etc.) - Update all breadcrumb and navigation references from /v2 to /drive - Redirect root path to /drive instead of old UI - Keep /api/fs/[...path] and /api/directories for uploads and move functionality - Preserve Drive_* server functions for potential future use 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* basic v0 ui workingdiogo4642025-08-112-91/+0
|
* snapshotdiogo4642025-08-112-174/+17
|
* basic file uploaddiogo4642025-08-112-1/+19
|
* snapshotdiogo4642025-08-112-0/+230