- The list stayed on its skeleton under StrictMode: an unmount flag never reset. Dropped it; a late result on an unmounted list is harmless. - A message sent from the page kept its first status: the server's copy now wins, so ticks move on. - Templates and their sync use the chat's company when a super admin has no company picked. - A manual owner outside the assignee list (a super admin) shows in the Owner select. - The chat column can shrink to a 360 px screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
Co-Lite Admin Portal
Next.js 16 admin portal for Co-Lite. Screens call the JSON admin APIs (/api/admin/**) in mobile-api through server-side route handlers.
Run
Needs Node 24 (see .nvmrc).
cp .env.example .env.local # then fill in the values below
npm ci
npm run dev # http://localhost:3001
| Variable | Purpose |
|---|---|
MOBILE_API_BASE_URL |
Base URL of mobile-api |
MOBILE_API_KEY |
API key sent to mobile-api |
SESSION_SECRET |
Secret used to seal the session cookie |
SESSION_COOKIE_NAME |
Session cookie base name (default colite_admin) |
Scripts
npm run build/npm startproduction build and server (port 3001)npm run lintnpm test