feat: add target hours selector and update timer calculations based on user input
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s

This commit is contained in:
Felix Schlusche
2025-10-30 17:18:38 +01:00
parent 17906c76f2
commit 763d7d141b
3 changed files with 43 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ let timerPausedDuration = 0; // Total paused time in seconds
let isPaused = false;
let pauseTimeout = null;
let currentEntryId = null; // ID of today's entry being timed
let targetHours = 8; // Target work hours per day (1-10)
// Current month display state
let displayYear = new Date().getFullYear();