Black / Blue Command UI

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.

Status BOOTING Worker, D1, R2 telemetry
Encryption AES-GCM Envelope wrapping scaffold active
Chunking 8 MB Reservation and completion pipeline prepared
Modules Split Page and component scripts separated
Interface Systems

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.

UI Rail

Command rail navigation

Left navigation is fixed and stateful. Drive, shares, automation, activity, and settings are independent page views inside the workspace shell.

Modal System

Reusable popup handling

Create-folder and upload flows run on a single modal utility. That keeps overlays, close behavior, and transitions consistent.

Views

Grid and table without duplication

A shared state store drives both layouts so list switching is instant and the render contract stays stable.

System Architecture

Worker API, D1 metadata, R2 objects, crypto envelope.

Route Split

API by domain

/api/auth, /api/files, /api/shares, /api/automation, /api/config, and /api/health are isolated.

Crypto Split

Password and envelope are separate

PBKDF2 password hashing and AES-GCM/AES-KW content wrapping are isolated so you can replace either independently.

Ops Split

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.