From f9183bf8c90b871f0859c3d120e43c007841ba82 Mon Sep 17 00:00:00 2001 From: 2pk03 Date: Mon, 12 Oct 2026 12:33:01 +0200 Subject: [PATCH] Reduce iPad dashboard power usage --- README.md | 6 ++ VERSION | 2 +- index.html | 180 +++++++++++++++++++++++++++++-------------- server_test.go | 3 - tests/order.test.cjs | 29 +++++-- tests/power.test.cjs | 79 +++++++++++++++++++ 6 files changed, 229 insertions(+), 70 deletions(-) create mode 100644 tests/power.test.cjs diff --git a/README.md b/README.md index 173fdf6..40b20fd 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ Add a Polymarket public address in Settings to show positions, P/L and activity on the left and your watchlist on the right. On phones the panels stack. Clear the address to return to the full-width watchlist. +The browser polls every 20 seconds to match the server's price cadence. Quote +updates reuse tile and candle elements, moving only the live price marker; +charts rebuild for new candles, period boundaries, stale data or price breakouts. +Polling and the minute clock stop when the page is hidden. Drag auto-scroll runs +only at a scrollable edge, and interrupted drags cancel automatically. + Tiles use compact spacing on tablets, with two columns in portrait mode. Drag a tile by its grip in the upper-right corner to move it; the new custom order saves automatically on the server and survives reloads. Scrolling elsewhere on a tile works normally. You can also diff --git a/VERSION b/VERSION index 5502a04..54c6511 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v23 +v24 diff --git a/index.html b/index.html index 0b1da24..4d1095c 100644 --- a/index.html +++ b/index.html @@ -186,7 +186,7 @@
polyDisplay
-
--:--:--
+
--:--
Server
@@ -260,9 +260,11 @@

Unlock pad