From 97b9c6739cab66720bd6c1728cf973eed5eb77aa Mon Sep 17 00:00:00 2001 From: Richard Courtman Date: Sat, 18 Oct 2025 08:15:10 +0000 Subject: [PATCH] feat: add min/max temperature tracking for nodes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Track minimum and maximum CPU temperatures since monitoring started. This provides better insight into temperature trends and cooling adequacy over time. Changes: - Backend: Add CPUMin, CPUMaxRecord, MinRecorded, MaxRecorded fields to Temperature model - Backend: Implement min/max tracking logic in monitoring cycle that preserves values across polling cycles - Backend: Initialize min/max on first reading, update on extremes - Frontend: Update Temperature TypeScript interface with new fields - Frontend: Display min/max range in NodeCard tooltip (e.g., "52°C (48-67°C since monitoring started)") - Frontend: Rebuild dist assets Temperature display now shows: - Current temperature with color coding (green/yellow/red) - Tooltip with full min-max range and context - Min/max tracked in-memory (resets on Pulse restart) Example tooltip: "CPU: 52°C (48-67°C since monitoring started)" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../dist/assets/FirstRunSetup-wQBQ8FZA.js | 19 -- frontend-modern/dist/assets/index-cdElc049.js | 217 ------------------ frontend-modern/dist/index.html | 2 +- .../src/components/Dashboard/NodeCard.tsx | 10 + frontend-modern/src/types/api.ts | 4 + internal/models/models.go | 20 +- internal/monitoring/monitor.go | 44 ++++ 7 files changed, 71 insertions(+), 245 deletions(-) delete mode 100644 frontend-modern/dist/assets/FirstRunSetup-wQBQ8FZA.js delete mode 100644 frontend-modern/dist/assets/index-cdElc049.js diff --git a/frontend-modern/dist/assets/FirstRunSetup-wQBQ8FZA.js b/frontend-modern/dist/assets/FirstRunSetup-wQBQ8FZA.js deleted file mode 100644 index 37acd41..0000000 --- a/frontend-modern/dist/assets/FirstRunSetup-wQBQ8FZA.js +++ /dev/null @@ -1,19 +0,0 @@ -import{c as l,o as ve,S as U,t as m,i as s,a as b,b as N,d as j,e as R,m as V,f as _,s as D,g as we,h as $e,j as Se,k as _e}from"./index-cdElc049.js";var Ce=m('
'),Pe=m('

A secure 16-character password will be generated for you. Make sure to save it when shown!'),Ae=m(`

  • Your admin account will be created
  • An API token will be generated for automation
  • All API endpoints will be protected
  • You'll need to login to access the dashboard

⚠️ Important

These credentials will never be shown again. Save them in a password manager now!