Display: Steam, Water, Grind

Steam, Water and Grind share one layout: the target between minus and plus on the centre line, the live value above it, and a single ring.

HTML
<div class="bm-stage">
  <figure class="bm-fig"><div data-face='{"s": "mode", "name": "STEAM", "live": "128°", "heating": true, "target": "145", "tempF": 0.8, "targetF": 0.906, "note": "Heating"}'></div><figcaption>Steam, heating</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "mode", "name": "WATER", "live": "80°", "target": "80", "tempF": 0.5, "targetF": 0.5, "action": ["START", "primary"]}'></div><figcaption>Water</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "grind", "by": "time", "target": "0:25", "unit": "SECONDS", "progress": 0}'></div><figcaption>Grind, by time</figcaption></figure>
  <figure class="bm-fig"><div data-face='{"s": "grind", "by": "weight", "target": "11.4", "unit": "OF 18.0 G", "progress": 0.63, "running": true, "live": "0:09"}'></div><figcaption>Grinding, by weight</figcaption></figure>
</div>
  • Steam and Water put temperature on the ring in heat with the target notch, and the live temperature above the target, in heat-text while heating.
  • Steam has no pill, because steaming starts with the valve; a status line takes the pill's place. Water has START, then STOP.
  • Grind puts progress on the ring in ink. With a scale, a TIME · WEIGHT row sits above the target.
  • While Water or Grind runs, hide minus, plus, the row and the handle; show elapsed or remaining in their place. Do not grey them.
  • Steam keeps the handle: leaving the mode is how steaming ends.

Content

  • The target is at most 4 characters in screen-hero-sm (145, 18.0), with its unit as the label under it: TARGET °C, GRAMS, SECONDS.
  • The status line that replaces Steam's pill is one clause of at most 25 characters: "Open the valve to steam".

Touch

Minus and plus are 60 px discs at the ends of the centre line; holding one repeats after 400 ms, 5 steps a second. At a limit the disc is hidden, not greyed, and the reading does not move. The TIME · WEIGHT row is 56 px tall and each half is a target.

Provide: the mode, target and its unit, the live reading, progress for Grind, and whether a scale and a grinder are present.