screentinker/Examples
ScreenTinker 6ee1c96b04
Some checks are pending
CI / Unit tests (node --test) (push) Waiting to run
CI / OpenAPI spec lint (push) Waiting to run
CI / Android unit tests (Kotlin schedule evaluator vectors) (push) Waiting to run
CI / Boot smoke + version check (push) Waiting to run
Examples/weather-radar: count only the warnings actually on screen
The chips are labelled "in view" but were tallied from the alert query result.
Alerts are fetched per state — one request instead of one per county — so the
feed routinely carries warnings hundreds of miles away. A Kenosha-centred map
reported "2x Tornado Warning" for tornadoes in Calumet and Winnebago, neither
of them on screen and neither reachable, since the view is bounded to two
counties.

Warnings are now sorted into three states rather than two:

- Unreachable: outside the bounded frame the map can ever show. Not drawn, not
  counted. This is what produced the phantom tornado count.
- Reachable but off-screen: drawn, so it can slide into view at the edge as the
  frame widens, but not claimed as "in view".
- On screen: tallied into the chips, recomputed on moveend/zoomend, because
  framing settles asynchronously and it is the settled zoom that decides what
  "in view" means.

Bounds come off the GeoJSON coordinates directly, covering every ring of a
MultiPolygon, rather than building a throwaway layer per feature to ask Leaflet
for an extent.

Asset version bumped to 3 so players holding the cached copy pick this up.
2026-07-27 12:29:28 -05:00
..
PIP-Air-Quality Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Announce-Broadcast Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-CAP-AU-Alert-Monitor Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Crypto-Ticker Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Event-Countdown Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Fundraiser-Thermometer Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Incident-Webhook Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-News-Ticker Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-QR-Rotator Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Room-Status-Calendar Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-USD-Cap-Alert-Monitor-NOAA Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Weather-Radar Examples/weather-radar: count only the warnings actually on screen 2026-07-27 12:29:28 -05:00
PIP-Weather-Widget Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00
PIP-Welcome-Board Add PiP overlay example recipes (#132) 2026-06-18 20:20:37 -05:00