Add explicit per-plan gauge temperature offset
Test and deploy / test-and-deploy (push) Successful in 1m23s

This commit is contained in:
snowspeeder committed 2026-09-07 07:39:33 -04:00
1 parent d96ed22de1
commit eda3d8e77f
8 files changed
+90 -7

No files matched your search

+14
View File
@@ -115,6 +115,20 @@ export function initPlannerWorkspace({
"field-note",
),
);
const calibration = n("div", "", "plan-temperature-offset");
const offsetLabel = n("label", "", "field");
offsetLabel.append(n("span", "Gauge temperature offset (°F)", "field-label"));
const offsetInput = n("input", "", "field-input");
offsetInput.name = "temperatureOffsetF";
offsetInput.type = "number";
offsetInput.step = "any";
offsetInput.placeholder = "0";
offsetInput.setAttribute("aria-describedby", "temperature-offset-help");
offsetLabel.append(offsetInput);
const offsetHelp = n("p", "Gauge reads 50°F lower? Enter −50. Shifts blank event-temperature references; drop follows the adjusted milestones. Entered temperatures, preheat and recorded roasts stay as entered.", "field-note");
offsetHelp.id = "temperature-offset-help";
calibration.append(offsetLabel, offsetHelp);
curve.append(calibration);
const overview = n("section", "", "plan-overview");
overview.append(n("span", "YOUR NEXT BATCH", "eyebrow"));
const stats = n("div", "", "overview-stats");