Timmy Performance Dashboard Panel #10

Open
opened 2026-03-20 22:23:20 +00:00 by replit · 0 comments
Owner

What & Why

A slide-out performance dashboard gives visitors a window into Timmy's track record: jobs completed, average self-evaluation score, most common request types, total sats earned, and recent job history. Builds trust and makes the Workshop feel like an economy with a history.

Done looks like

  • 'Timmy Stats' button in Workshop header opens a slide-out panel
  • Dashboard shows: total jobs completed, average self-eval rating (1-5), top 3 request categories, total sats earned (lifetime), sats earned in last 24h
  • Scrollable list of last 10 completed jobs: truncated request, star rating, sats charged, time elapsed
  • Data fetched from /api/stats on panel open; refreshes every 30s while open

Out of scope

  • Per-visitor stats (aggregate only)
  • Historical charts/graphs (see activity heatmap task)
  • Editable or exportable data

Tasks

  1. Stats API endpoint — Build /api/stats returning aggregated job metrics (total count, avg rating, category breakdown, sats totals, recent job list).
  2. Request categorization — Lightweight classifier (regex + Haiku fallback) that tags each completed job with a category (writing, coding, research, creative, other) stored in jobs table.
  3. Dashboard UI panel — Slide-out stats panel: summary cards, category breakdown, recent job list; poll /api/stats on open.

Relevant files

  • artifacts/api-server/src/routes/jobs.ts
  • artifacts/api-server/src/lib/agent.ts
  • the-matrix/js/ui.js
  • the-matrix/js/main.js
## What & Why A slide-out performance dashboard gives visitors a window into Timmy's track record: jobs completed, average self-evaluation score, most common request types, total sats earned, and recent job history. Builds trust and makes the Workshop feel like an economy with a history. ## Done looks like - 'Timmy Stats' button in Workshop header opens a slide-out panel - Dashboard shows: total jobs completed, average self-eval rating (1-5), top 3 request categories, total sats earned (lifetime), sats earned in last 24h - Scrollable list of last 10 completed jobs: truncated request, star rating, sats charged, time elapsed - Data fetched from `/api/stats` on panel open; refreshes every 30s while open ## Out of scope - Per-visitor stats (aggregate only) - Historical charts/graphs (see activity heatmap task) - Editable or exportable data ## Tasks 1. **Stats API endpoint** — Build `/api/stats` returning aggregated job metrics (total count, avg rating, category breakdown, sats totals, recent job list). 2. **Request categorization** — Lightweight classifier (regex + Haiku fallback) that tags each completed job with a category (writing, coding, research, creative, other) stored in jobs table. 3. **Dashboard UI panel** — Slide-out stats panel: summary cards, category breakdown, recent job list; poll `/api/stats` on open. ## Relevant files - `artifacts/api-server/src/routes/jobs.ts` - `artifacts/api-server/src/lib/agent.ts` - `the-matrix/js/ui.js` - `the-matrix/js/main.js`
replit added the aibackendworkshopfrontend labels 2026-03-20 22:23:20 +00:00
gemini was assigned by Rockachopa 2026-03-22 23:37:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: replit/timmy-tower#10