Counter widget: one to three linked counters are the digits of one number, published on one message in the finest counter's unit (hours and minutes send 07:30 as 450, 07:55 + 5 min carries to 08:00); wraps or stops at the coarsest's min/max. The arithmetic is one pure module, ui/core/counter.ts, with counter.check.ts. A tile steps each counter with a press up and down and publishes once 300 ms after the last; a round face turns the selected counter on the ring (wheel, keys, a drag counted in steps), its arc where that counter stands in its turn, and a press on a counter's digits selects it. Default config is the time picker. Editor rows, widgetIssue, server type and dtype, docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ezWcLmBCtTVKFPxfdK2MK
This commit is contained in:
Melvin Strobl
2026-10-16 08:58:42 +02:00
co-authored by Claude Opus 5.5
parent 0c7f8bde82
commit 3105505192
16 changed files with 745 additions and 33 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ literal text in run parameters.
| Widget | Accepts |
|---|---|
| Gauge, live Chart, Slider, Bar | `float`, `int` |
| Gauge, live Chart, Slider, Bar, Counter | `float`, `int` |
| Query Chart | `series` response, `record` request |
| Switch | `bool` |
| Agenda, Forecast | `list` |