Fix planner review findings

This commit is contained in:
2026-07-30 08:11:08 -04:00
parent 7416898bec
commit f3d026a109
6 changed files with 392 additions and 114 deletions
+94 -14
View File
@@ -76,7 +76,15 @@
></div>
<div class="drawer-overlay hidden" id="drawer-overlay"></div>
<aside class="drawer hidden" id="panel-prefill" aria-hidden="true" role="dialog" aria-modal="true" aria-labelledby="prefill-title" tabindex="-1">
<aside
class="drawer hidden"
id="panel-prefill"
aria-hidden="true"
role="dialog"
aria-modal="true"
aria-labelledby="prefill-title"
tabindex="-1"
>
<div class="drawer-head">
<h3 id="prefill-title">Prefill from a bean product URL</h3>
<button
@@ -112,7 +120,15 @@
</div>
</aside>
<aside class="drawer hidden" id="panel-alog" aria-hidden="true" role="dialog" aria-modal="true" aria-labelledby="alog-title" tabindex="-1">
<aside
class="drawer hidden"
id="panel-alog"
aria-hidden="true"
role="dialog"
aria-modal="true"
aria-labelledby="alog-title"
tabindex="-1"
>
<div class="drawer-head">
<h3 id="alog-title">Attach an Artisan .alog reference curve</h3>
<button
@@ -136,22 +152,75 @@
</div>
</aside>
<aside class="drawer hidden" id="panel-plans" aria-hidden="true" role="dialog" aria-modal="true" aria-labelledby="plans-title" tabindex="-1">
<div class="drawer-head"><h3 id="plans-title">Your plans</h3><button class="icon-btn" type="button" data-close-drawer aria-label="Close"></button></div>
<aside
class="drawer hidden"
id="panel-plans"
aria-hidden="true"
role="dialog"
aria-modal="true"
aria-labelledby="plans-title"
tabindex="-1"
>
<div class="drawer-head">
<h3 id="plans-title">Your plans</h3>
<button
class="icon-btn"
type="button"
data-close-drawer
aria-label="Close"
>
</button>
</div>
<div class="drawer-body">
<button id="btn-new-plan" type="button" class="primary-btn">New plan</button>
<p class="drawer-result">Choose a plan to continue. Every edit is stored on this device first and then synced when online.</p>
<button id="btn-new-plan" type="button" class="primary-btn">
New plan
</button>
<p class="drawer-result">
Choose a plan to continue. Every edit is stored on this device first
and then synced when online.
</p>
<ul class="plan-list" id="plan-list" aria-live="polite"></ul>
</div>
</aside>
<aside class="drawer hidden" id="panel-settings" aria-hidden="true" role="dialog" aria-modal="true" aria-labelledby="settings-title" tabindex="-1">
<div class="drawer-head"><h3 id="settings-title">Settings &amp; sync</h3><button class="icon-btn" type="button" data-close-drawer aria-label="Close"></button></div>
<aside
class="drawer hidden"
id="panel-settings"
aria-hidden="true"
role="dialog"
aria-modal="true"
aria-labelledby="settings-title"
tabindex="-1"
>
<div class="drawer-head">
<h3 id="settings-title">Settings &amp; sync</h3>
<button
class="icon-btn"
type="button"
data-close-drawer
aria-label="Close"
>
</button>
</div>
<div class="drawer-body">
<p class="drawer-result"><strong id="settings-email"></strong> is the active account. Plans are saved locally first, then synced to your account whenever you are online.</p>
<p class="drawer-result">Install Roast Planner from your browser menu for a focused workspace. Updates wait for your confirmation so an in-progress plan is never discarded.</p>
<button id="btn-install" type="button" class="primary-btn hidden">Install Roast Planner</button>
<button id="btn-refresh" type="button" class="ghost-btn hidden">Update ready — refresh safely</button>
<p class="drawer-result">
<strong id="settings-email"></strong> is the active account. Plans are
saved locally first, then synced to your account whenever you are
online.
</p>
<p class="drawer-result">
Install Roast Planner from your browser menu for a focused workspace.
Updates wait for your confirmation so an in-progress plan is never
discarded.
</p>
<button id="btn-install" type="button" class="primary-btn hidden">
Install Roast Planner
</button>
<button id="btn-refresh" type="button" class="ghost-btn hidden">
Update ready — refresh safely
</button>
</div>
</aside>
@@ -426,7 +495,13 @@
<section class="panel-card" id="sec-bean">
<div class="panel-head"><h2>Bean Condition</h2></div>
<div class="unknown-condition" role="note"><strong>Don't have lab measurements?</strong> Moisture and density are optional. Leave them blank and record only evidence you have (supplier COA, lot notes, or your next roast). They never change the ledger automatically. Use Net correction only when you can explain the observation behind it.</div>
<div class="unknown-condition" role="note">
<strong>Don't have lab measurements?</strong> Moisture and density
are optional. Leave them blank and record only evidence you have
(supplier COA, lot notes, or your next roast). They never change
the ledger automatically. Use Net correction only when you can
explain the observation behind it.
</div>
<div class="panel-body">
<div class="field-grid">
<label class="field" data-fid="5.1"
@@ -863,7 +938,12 @@
</div>
</div>
<div class="ledger-warnings hidden" id="ledger-warnings" role="status" aria-live="polite"></div>
<div
class="ledger-warnings hidden"
id="ledger-warnings"
role="status"
aria-live="polite"
></div>
<div class="dock-card checks-card">
<div class="dock-card-head"><h2>Sanity Checks</h2></div>