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:
parent
b3f403cf1a
commit
31179d4af4
9 changed files with 34 additions and 34 deletions
|
@ -10,7 +10,7 @@ var DefaultServerConfig = models.ServerConfig{
|
|||
|
||||
// The default pomodoro config if nothing else is set
|
||||
var DefaultPomodoroConfig = models.PomodoroConfig{
|
||||
Work: 25 * 60,
|
||||
Focus: 25 * 60,
|
||||
ShortBreak: 5 * 60,
|
||||
LongBreak: 15 * 60,
|
||||
Sessions: 4,
|
||||
|
|
|
@ -10,7 +10,7 @@ var State = models.ServerMessage{
|
|||
Mode: "Idle",
|
||||
Settings: DefaultPomodoroConfig,
|
||||
Session: 0,
|
||||
TimeLeft: DefaultPomodoroConfig.Work,
|
||||
TimeLeft: DefaultPomodoroConfig.Focus,
|
||||
Ongoing: false,
|
||||
Paused: false,
|
||||
ProtocolVersion: metadata.ProtocolVersion,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue