Storage rebuilt as an encrypted operations console.
This rebuild is designed for Cloudflare-first delivery, split frontend modules, chunk-aware uploads, envelope encryption, and automation hooks from day one.
Every visible interaction is its own module.
The rebuild treats popups, dropdowns, toasts, navigation state, telemetry, and content rendering as separate concerns. That is what keeps the app maintainable once uploads, shares, and admin tooling expand.
Command rail navigation
Left navigation is fixed and stateful. Drive, shares, automation, activity, and settings are independent page views inside the workspace shell.
Reusable popup handling
Create-folder and upload flows run on a single modal utility. That keeps overlays, close behavior, and transitions consistent.
Grid and table without duplication
A shared state store drives both layouts so list switching is instant and the render contract stays stable.
Worker API, D1 metadata, R2 objects, crypto envelope.
API by domain
/api/auth, /api/files, /api/shares, /api/automation, /api/config, and /api/health are isolated.
Password and envelope are separate
PBKDF2 password hashing and AES-GCM/AES-KW content wrapping are isolated so you can replace either independently.
Automation queue is first-class
Checksum rescans, retention, tagging, and lifecycle cleanup should be jobs, not UI-side hacks. The scaffold includes that queue model now.