feat(houseofrc): send heats automatically after every heat, show send status, warn before sending (1.85.0)

This commit is contained in:
larssand committed 2026-11-08 23:19:43 +01:00
1 parent 38cfa7ff2d
commit 3870510d8c
15 files changed
+189 -18

No files matched your search

+2
View File
@@ -1,3 +1,4 @@
import { renderHouseOfRcSendStatus } from "./houseofrc_view.js";
import { PROLOGUE_OPTIONS_SEC, formatPrologueOption } from "./prologue_logic.js";
import { groupSessionsBySteps } from "./race_list_logic.js";
@@ -190,6 +191,7 @@ export function renderEventManagerMarkup(context) {
<button id="clearParticipants" class="btn btn-danger" type="button">${t("events.clear_participants")}</button>
${event.houseOfRc?.eventId ? `<button id="houseOfRcRefreshEntries" class="btn" type="button" title="${escapeHtml(t("houseofrc.refresh_hint", { name: event.houseOfRc.name || "" }))}">🔄 ${t("houseofrc.refresh_button")}</button>` : ""}
${event.houseOfRc?.eventId ? `<button id="houseOfRcSendResults" class="btn" type="button" title="${escapeHtml(t("houseofrc.results_hint", { name: event.houseOfRc.name || "" }))}">📤 ${t("houseofrc.results_button")}</button>` : ""}
${event.houseOfRc?.eventId ? `<label class="toggle hor-auto-send" title="${escapeHtml(t("houseofrc.auto_send_hint"))}"><input type="checkbox" id="houseOfRcAutoSend" ${event.houseOfRc.autoSend ? "checked" : ""} /><span>${t("houseofrc.auto_send")}</span></label> ${renderHouseOfRcSendStatus(event, { t, escapeHtml })}` : ""}
</div>
${(() => {
const card = (driver) => {