Add roaster (machine) management, mobile header-tools redesign, and profile pictures
Test and deploy / test-and-deploy (push) Successful in 1m0s

Machines:
- roasters table + actual_roasts.roaster_id (migrations 009): per-user
  machines with a default; uploads attach to the default roaster and are
  reassignable from the roast detail view
- Learning is now per machine: /api/roaster-profile scopes to a roaster
  (default when unspecified) and applies the user's override tweaks
  (milestone temps, TP time, pace factor) on top of learned medians
- /roasters page: machine list + analysis report showing learned vs
  applied values with editable tweaks, typical RoR, and a plain-language
  list of the adjustments applied to plans; planner honors a manual pace
  override; evaluations use the roast's own machine profile

Mobile header redesign:
- The planner's header tools collapse behind a single 'Tools ▾'
  disclosure (dropdown card) at ≤720px, keeping the fixed three-row
  mobile header with no wrapped or scrolling button rows; desktop
  renders inline via display:contents (same DOM, same handlers)

Profile pictures:
- users.avatar (migration 010) + PUT/GET/DELETE /api/account/avatar;
  client-side centre-crop resize to 128px JPEG; avatar shows in the nav
  chip on every page; included in full backups

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Shane Maynard
2026-08-09 08:17:10 -04:00
co-authored by Claude Fable 5
parent e62b9601a2
commit a341d67467
15 changed files with 1291 additions and 62 deletions
+38 -27
View File
@@ -75,37 +75,48 @@
><span class="dot"></span
><span class="autosave-text">Not saved yet</span></span
>
<button id="nav-plans" type="button" class="ghost-btn small">
▤ Plans
</button>
<button id="nav-chat" type="button" class="ghost-btn small">
✳ Ask the LLM
</button>
<button id="nav-prefill" type="button" class="ghost-btn small">
↗ Prefill
</button>
<button id="nav-alog" type="button" class="ghost-btn small">
∿ Curves
</button>
<button id="nav-import-export" type="button" class="ghost-btn small">
⇅ Import / export
</button>
<button
id="btn-toggle-fids"
id="btn-tools-menu"
type="button"
class="ghost-btn small"
aria-pressed="false"
title="Show the worksheet reference codes (e.g. 1.4) on every field"
class="ghost-btn small header-tools-toggle"
aria-expanded="false"
aria-controls="header-tools-group"
>
# IDs
</button>
<button id="nav-settings" type="button" class="ghost-btn small">
◎ Settings
</button>
<span class="header-divider" aria-hidden="true"></span>
<button id="btn-expand-why" type="button" class="ghost-btn small">
Expand "why" notes
⚙ Tools ▾
</button>
<div class="header-tools-group" id="header-tools-group">
<button id="nav-plans" type="button" class="ghost-btn small">
▤ Plans
</button>
<button id="nav-chat" type="button" class="ghost-btn small">
✳ Ask the LLM
</button>
<button id="nav-prefill" type="button" class="ghost-btn small">
↗ Prefill
</button>
<button id="nav-alog" type="button" class="ghost-btn small">
∿ Curves
</button>
<button id="nav-import-export" type="button" class="ghost-btn small">
⇅ Import / export
</button>
<button
id="btn-toggle-fids"
type="button"
class="ghost-btn small"
aria-pressed="false"
title="Show the worksheet reference codes (e.g. 1.4) on every field"
>
# IDs
</button>
<button id="nav-settings" type="button" class="ghost-btn small">
◎ Settings
</button>
<span class="header-divider" aria-hidden="true"></span>
<button id="btn-expand-why" type="button" class="ghost-btn small">
Expand "why" notes
</button>
</div>
<button id="btn-print" type="button" class="primary-btn">
Print
</button>