break: update terminology from "Work" to "Focus"

- change mode from "Work" to "Focus" in server messages
- modify pomodoro configuration to use "Focus" instead of "Work"
- adjust default settings to reflect new terminology
- ensure all references to work duration are updated to focus duration
- update variable names in HTML and JavaScript for clarity

🤖
This commit is contained in:
Sebastian Mark 2024-11-18 08:11:39 +01:00
parent b3f403cf1a
commit 31179d4af4
9 changed files with 34 additions and 34 deletions

View file

@ -10,7 +10,7 @@ import (
)
func checkSettings(settings models.PomodoroConfig) bool {
return settings.Work > 0 && settings.ShortBreak > 0 && settings.LongBreak > 0 && settings.Sessions > 0
return settings.Focus > 0 && settings.ShortBreak > 0 && settings.LongBreak > 0 && settings.Sessions > 0
}
// Listens for commands from a client and handles them