Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xjuanma/helm
/ functions
Functions
99 in github.com/0xjuanma/helm
⨍
Functions
99
◇
Types & classes
17
↓ 11 callers
Function
NewSession
(w *workflow.Workflow)
internal/timer/session.go:14
↓ 10 callers
Function
New
(d time.Duration)
internal/timer/timer.go:19
↓ 8 callers
Function
newTestWorkflow
(loop bool)
internal/timer/session_test.go:10
↓ 8 callers
Function
setTitle
(title string)
internal/tui/update.go:211
↓ 7 callers
Method
NextStep
()
internal/timer/session.go:38
↓ 5 callers
Method
Normalize
()
internal/config/config.go:92
↓ 5 callers
Method
Start
()
internal/timer/timer.go:27
↓ 5 callers
Method
updateTitle
()
internal/tui/update.go:196
↓ 4 callers
Function
DefaultSoundConfig
()
internal/config/config.go:55
↓ 4 callers
Method
Reset
()
internal/timer/timer.go:46
↓ 4 callers
Method
ResetWith
(d time.Duration)
internal/timer/timer.go:50
↓ 4 callers
Method
editMenuLayout
()
internal/tui/customize.go:108
↓ 4 callers
Function
tickCmd
()
internal/tui/model.go:75
↓ 3 callers
Method
BuildWorkflows
()
internal/config/config.go:122
↓ 3 callers
Method
CurrentStepName
()
internal/timer/session.go:30
↓ 3 callers
Method
Tick
(d time.Duration)
internal/timer/timer.go:56
↓ 3 callers
Function
bell
(cfg config.SoundConfig)
internal/tui/update.go:222
↓ 3 callers
Method
currentStep
()
internal/timer/session.go:26
↓ 2 callers
Function
DefaultConfig
()
internal/config/config.go:63
↓ 2 callers
Method
GetTransitionDelay
GetTransitionDelay returns the transition delay, clamped to valid range
internal/config/config.go:82
↓ 2 callers
Function
Load
()
internal/config/storage.go:39
↓ 2 callers
Function
NewQuickModel
(minutes int)
internal/tui/model.go:54
↓ 2 callers
Method
Pause
()
internal/timer/timer.go:31
↓ 2 callers
Function
Quick
(d time.Duration)
internal/workflow/presets.go:23
↓ 2 callers
Function
Save
(cfg *Config)
internal/config/storage.go:93
↓ 2 callers
Method
StepCount
()
internal/workflow/workflow.go:17
↓ 2 callers
Method
StepProgress
()
internal/timer/session.go:34
↓ 2 callers
Method
Toggle
()
internal/timer/timer.go:37
↓ 2 callers
Function
configPath
()
internal/config/storage.go:14
↓ 2 callers
Function
newProgressBar
()
internal/tui/styles.go:100
↓ 2 callers
Method
progress
()
internal/tui/model.go:81
↓ 2 callers
Function
renderLargeTime
(timeStr string)
internal/tui/digits.go:85
↓ 2 callers
Function
validateQuickMinutes
(m int)
cmd/root.go:40
↓ 1 callers
Function
Execute
()
cmd/root.go:47
↓ 1 callers
Method
GetWorkflowSound
GetWorkflowSound returns the sound config for a workflow by index, or default if not set
internal/config/config.go:103
↓ 1 callers
Method
IsComplete
()
internal/timer/timer.go:73
↓ 1 callers
Method
IsRunning
()
internal/timer/timer.go:69
↓ 1 callers
Method
IsValid
()
internal/config/config.go:177
↓ 1 callers
Function
NewModel
()
internal/tui/model.go:43
↓ 1 callers
Function
Play
Play emits a sound based on the provided configuration. If the system notification fails, it falls back to the terminal bell.
internal/sound/sound.go:13
↓ 1 callers
Function
Pomodoro
()
internal/workflow/presets.go:5
↓ 1 callers
Method
Reset
()
internal/timer/session.go:54
↓ 1 callers
Method
ToWorkflow
()
internal/config/config.go:145
↓ 1 callers
Method
View
()
internal/tui/view.go:13
↓ 1 callers
Method
applyInput
()
internal/tui/customize.go:228
↓ 1 callers
Function
calcTotalTime
(steps []workflow.Step)
internal/tui/view.go:150
↓ 1 callers
Method
cycleSoundState
()
internal/tui/customize.go:406
↓ 1 callers
Function
ensureConfigDir
()
internal/config/storage.go:22
↓ 1 callers
Function
formatDuration
(d time.Duration)
internal/tui/view.go:158
↓ 1 callers
Method
formatEditLine
(idx int, text string)
internal/tui/customize.go:396
↓ 1 callers
Method
handleCompleteKey
(msg tea.KeyMsg)
internal/tui/update.go:138
↓ 1 callers
Method
handleDeleteStep
()
internal/tui/customize.go:187
↓ 1 callers
Method
handleEditSelect
()
internal/tui/customize.go:152
↓ 1 callers
Method
handleKey
(msg tea.KeyMsg)
internal/tui/update.go:32
↓ 1 callers
Method
handleSelectKey
(msg tea.KeyMsg)
internal/tui/update.go:48
↓ 1 callers
Method
handleTick
()
internal/tui/update.go:154
↓ 1 callers
Method
handleTimerKey
(msg tea.KeyMsg)
internal/tui/update.go:76
↓ 1 callers
Method
handleTransitionKey
(msg tea.KeyMsg)
internal/tui/update.go:105
↓ 1 callers
Method
initDraft
()
internal/tui/customize.go:62
↓ 1 callers
Function
newPausedProgressBar
()
internal/tui/styles.go:112
↓ 1 callers
Function
playMacTone
(name string)
internal/sound/sound.go:37
↓ 1 callers
Method
saveWorkflow
()
internal/tui/customize.go:257
↓ 1 callers
Method
startWorkflow
(idx int)
internal/tui/update.go:190
↓ 1 callers
Function
terminalBell
()
internal/sound/sound.go:32
↓ 1 callers
Method
updateCustomize
(msg tea.KeyMsg)
internal/tui/customize.go:32
↓ 1 callers
Method
updateEdit
(msg tea.KeyMsg)
internal/tui/customize.go:121
↓ 1 callers
Method
updateEditInput
(msg tea.KeyMsg)
internal/tui/customize.go:200
↓ 1 callers
Method
viewComplete
()
internal/tui/view.go:136
↓ 1 callers
Method
viewCustomize
()
internal/tui/customize.go:283
↓ 1 callers
Method
viewEdit
()
internal/tui/customize.go:327
↓ 1 callers
Method
viewSelect
()
internal/tui/view.go:34
↓ 1 callers
Method
viewTimer
()
internal/tui/view.go:70
Function
FromWorkflow
(w *workflow.Workflow)
internal/config/config.go:161
Method
Init
()
internal/tui/model.go:68
Method
Normalize
()
internal/config/config.go:192
Function
TestCurrentStepName
(t *testing.T)
internal/timer/session_test.go:40
Function
TestIsComplete
(t *testing.T)
internal/timer/timer_test.go:183
Function
TestIsRunning
(t *testing.T)
internal/timer/timer_test.go:161
Function
TestNew
(t *testing.T)
internal/timer/timer_test.go:8
Function
TestNewQuickModel
(t *testing.T)
internal/tui/model_test.go:11
Function
TestNewSession
(t *testing.T)
internal/timer/session_test.go:22
Function
TestNewSessionWithEmptyWorkflow
(t *testing.T)
internal/timer/session_test.go:151
Function
TestNextStep
(t *testing.T)
internal/timer/session_test.go:59
Function
TestNextStepComplete
(t *testing.T)
internal/timer/session_test.go:94
Function
TestNextStepLoop
(t *testing.T)
internal/timer/session_test.go:76
Function
TestNextStepOnCompletedSession
(t *testing.T)
internal/timer/session_test.go:132
Function
TestPause
(t *testing.T)
internal/timer/timer_test.go:44
Function
TestQuick
(t *testing.T)
internal/workflow/presets_test.go:8
Function
TestReset
(t *testing.T)
internal/timer/timer_test.go:90
Function
TestResetWith
(t *testing.T)
internal/timer/timer_test.go:105
Function
TestSessionReset
(t *testing.T)
internal/timer/session_test.go:109
Function
TestStart
(t *testing.T)
internal/timer/timer_test.go:23
Function
TestStepProgress
(t *testing.T)
internal/timer/session_test.go:49
Function
TestTick
(t *testing.T)
internal/timer/timer_test.go:124
Function
TestToggle
(t *testing.T)
internal/timer/timer_test.go:67
Function
TestValidateQuickMinutes
(t *testing.T)
cmd/root_test.go:5
Method
Update
(msg tea.Msg)
internal/tui/update.go:14
Function
init
()
cmd/root.go:36
Function
main
()
main.go:5