# devist dashboard
Web UI for inspecting events and AI advice that the [devist](../) worker
pushes to Supabase.
Reads from the `worker_events` table; never writes.
## Setup
1. **Apply the read policy** on the same Supabase project the worker pushes to:
```bash
psql "$SUPABASE_DB_URL" -f ../migrations/0002_worker_events_authenticated_read.sql
```
2. **Configure env**:
```bash
cp .env.example .env.local
```
3. **Run**:
```bash
pnpm install
pnpm dev
```
Open the magic link sent to your email; you'll land on Overview.
## Pages
- **Overview** (`/`) — stats + recent events across all projects
- **Inbox** (`/inbox`) — `event_type = 'advice'` rows, severity-colored
- **Project timeline** (`/projects/:name`) — paginated, filterable by severity
## Tech
React 18 + Vite + TypeScript + Supabase + Tailwind v4 + shadcn/ui +
react-router-dom.
## Scripts
- `pnpm dev` — Vite dev server
- `pnpm build` — production build (`dist/`)
- `pnpm typecheck` — TS check
- `pnpm lint` / `pnpm lint:fix` — Biome