Compare commits

...

4 Commits

Author SHA1 Message Date
keshavmathguy
1a1c494ade Saved progress at the end of the loop
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 22590254-16a6-4e67-8db6-70bf23ec5efa
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 480bdc5f-3460-4340-bad8-55c04b01e09d
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3f3f1d57-54c5-43b3-bdea-ac659ef0a32c/22590254-16a6-4e67-8db6-70bf23ec5efa/PuWDZtN
Replit-Helium-Checkpoint-Created: true
2026-04-10 18:38:21 +00:00
d9b2c5ee22 Change timer toggle label to 'LINK TIMER', remove 'open a round' text from empty buzzer state 2026-04-08 20:34:50 -05:00
57c5f4e054 Open Round: start timer if toggle ON, regardless of current value 2026-04-08 20:31:08 -05:00
3c0ca7843f Open Round: properly reset and start timer when toggle ON 2026-04-08 20:30:56 -05:00
3 changed files with 35 additions and 4 deletions

31
.replit Normal file
View File

@@ -0,0 +1,31 @@
modules = ["bun-1.3"]
[agent]
expertMode = true
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Start application"
[[workflows.workflow]]
name = "Start application"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "PORT=5000 bun --hot run src/server.ts"
waitForPort = 5000
[workflows.workflow.metadata]
outputType = "webview"
[[ports]]
localPort = 5000
externalPort = 80

View File

@@ -178,7 +178,7 @@
<span class="side-hint">SEC</span>
</div>
<div class="tog-row">
<div class="lbl">TIMER</div>
<div class="lbl">LINK TIMER</div>
<label class="tog">
<input type="checkbox" id="timer-tog" onchange="toggleTimerFromSwitch()" /><span class="tog-track"></span>
</label>
@@ -232,7 +232,7 @@
<div id="tab-buzzer">
<div class="panel">
<div class="panel-title">BUZZ ORDER</div>
<div class="empty" id="mod-bz-empty">No buzzes — open a round to begin.</div>
<div class="empty" id="mod-bz-empty">No buzzes</div>
<div class="buzz-list" id="mod-bz-list"></div>
</div>
</div>

View File

@@ -401,8 +401,8 @@ function toggleRound(){
}
} else {
ws_send({type:'open_round'});
// If linked (toggle ON) and timer stopped, start it
if(document.getElementById('timer-tog').checked && !modTimerRunning && modTimerRemaining===0){
// If linked (toggle ON) and timer stopped, reset and start it
if(document.getElementById('timer-tog').checked && !modTimerRunning){
modTimerLoad();
modTimerRunning=true;
document.getElementById('btn-timer-ss').textContent='PAUSE';