From 4f9f93c9c135ee2aba725642f0cafccdb2efb250 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Tue, 10 Mar 2026 23:25:12 +0100 Subject: [PATCH] [feat](trx-frontend-http): add interleave time for overlapping TimeSpan entries When multiple time-span entries are active simultaneously, the scheduler now cycles through them by slot: slot = floor(utc_min / interleave_min) % count. The interleave_min field is optional (null disables, first match wins). UI: "Interleave time (min)" number input in the TimeSpan section with a hint explaining the behaviour. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Stan Grams --- .../trx-frontend-http/assets/web/index.html | 6 +++ .../assets/web/plugins/scheduler.js | 9 ++++ .../trx-frontend-http/src/scheduler.rs | 54 ++++++++++++++----- 3 files changed, 55 insertions(+), 14 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html index 74de8e7..d7a1adc 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html @@ -716,6 +716,12 @@