Add EPA speeds, entry editing, and tap-to-type numeric inputs

- EPA Agility & Speed: add Max Speed and Max Weighted Speed (mph),
  decimal record-tracked metrics, per session.
- Logged sessions are editable: tapping a category or a logged entry
  opens it pre-filled; saving updates that entry (PUT /api/entries/:id)
  instead of creating a duplicate. Record auto-update runs on edit too.
- Every value field is now a tap-to-type number input (decimal keypad
  for speeds) while keeping the +/- stepper buttons; native spinners
  removed. New decimal metric kind; seed + idempotent migration add the
  EPA speed metrics.
- Bump StartOS package to 0.1.5:0; service worker cache to v5.
This commit is contained in:
Keysat
2026-06-04 08:05:30 -05:00
parent 5868852686
commit cf64a2dc50
8 changed files with 138 additions and 62 deletions
+1
View File
@@ -31,6 +31,7 @@ export const api = {
day: (day) => req('GET', `/api/day/${day}`),
logEntry: (e) => req('POST', '/api/entries', e),
updateEntry: (id, e) => req('PUT', `/api/entries/${id}`, e),
deleteEntry: (id) => req('DELETE', `/api/entries/${id}`),
saveNotes: (day, notes) => req('PUT', `/api/day/${day}/notes`, { notes }),