Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/hovancik/stretchly
/ functions
Functions
177 in github.com/hovancik/stretchly
⨍
Functions
177
◇
Types & classes
32
↓ 30 callers
Function
isAllowedImageFilename
app/utils/imageResolver.js:6
↓ 25 callers
Function
updateTray
()
app/main.js:1260
↓ 20 callers
Method
getDisplayX
(displayID = -1, width = 800, fullscreen = false)
app/utils/displayManager.js:51
↓ 18 callers
Function
formatTimeRemaining
(milliseconds, locale, i18next, humanizeDuration)
app/utils/utils.js:3
↓ 17 callers
Function
formatTimeIn
(milliseconds, locale, i18next, humanizeDuration)
app/utils/utils.js:23
↓ 16 callers
Method
getDisplayY
(displayID = -1, height = 600, fullscreen = false)
app/utils/displayManager.js:60
↓ 15 callers
Function
formatElapsedDuration
(milliseconds, locale, i18next, humanizeDuration)
app/utils/utils.js:13
↓ 15 callers
Method
waitToMs
()
app/utils/commands.js:213
↓ 14 callers
Method
durationToMs
(settings)
app/utils/commands.js:196
↓ 13 callers
Function
dangerColorForTheme
(themeColor)
app/utils/breakHealthEffect.js:12
↓ 12 callers
Function
increaseDanger
(amount)
app/main.js:1035
↓ 12 callers
Method
plan
()
app/utils/scheduler.js:14
↓ 12 callers
Method
stop
()
app/utils/dndManager.js:34
↓ 11 callers
Method
clear
()
app/breaksPlanner.js:209
↓ 10 callers
Function
breakComplete
(shouldPlaySound, windows, breakType)
app/main.js:1020
↓ 10 callers
Function
canSkip
(strictMode, postpone, passedPercent, postponePercent)
app/utils/utils.js:56
↓ 10 callers
Function
formatUnitAndValue
(unit, value, i18next)
app/utils/utils.js:33
↓ 10 callers
Function
onShortcut
({ name, settings, log, breakPlanner, functions })
app/utils/breakShortcuts.js:26
↓ 10 callers
Function
sanitizeIdea
(value)
app/utils/sanitizeIdea.js:10
↓ 9 callers
Method
msToSunrise
(dt = DateTime.local())
app/utils/untilMorning.js:10
↓ 9 callers
Function
pauseBreaks
(milliseconds)
app/main.js:1198
↓ 9 callers
Function
resolveLocalImage
(imagesPath, filename)
app/utils/imageResolver.js:8
↓ 8 callers
Method
cancel
()
app/utils/scheduler.js:25
↓ 8 callers
Method
getTargetDisplay
(displayID = -1)
app/utils/displayManager.js:13
↓ 7 callers
Method
_logErrorOnce
(environment, error)
app/utils/dndManager.js:195
↓ 7 callers
Function
calculateInterval
(name, settings)
app/utils/breakShortcuts.js:18
↓ 7 callers
Method
getDisplayCount
()
app/utils/displayManager.js:9
↓ 7 callers
Method
getDisplayHeight
(displayID = -1)
app/utils/displayManager.js:74
↓ 7 callers
Method
getDisplayWidth
(displayID = -1)
app/utils/displayManager.js:69
↓ 7 callers
Method
reset
()
app/breaksPlanner.js:235
↓ 7 callers
Function
setWindowHeight
()
app/preferences-renderer.js:316
↓ 7 callers
Function
shouldShowNotificationTitle
(platform, systemVersion, semver)
app/utils/utils.js:68
↓ 7 callers
Method
translate
()
app/utils/htmlTranslate.js:6
↓ 7 callers
Function
windowIconPath
()
app/main.js:529
↓ 6 callers
Function
callback
()
test/scheduler.js:18
↓ 6 callers
Function
canPostpone
(postpone, passedPercent, postponePercent)
app/utils/utils.js:51
↓ 6 callers
Function
decreaseDanger
(amount)
app/main.js:1043
↓ 6 callers
Function
exposeI18next
()
app/utils/context-bridge-exposers.js:22
↓ 6 callers
Function
exposeRuntime
()
app/utils/context-bridge-exposers.js:40
↓ 5 callers
Function
exposeElectronApi
()
app/utils/context-bridge-exposers.js:7
↓ 5 callers
Function
exposeSettings
()
app/utils/context-bridge-exposers.js:63
↓ 5 callers
Function
exposeStretchly
()
app/utils/context-bridge-exposers.js:75
↓ 5 callers
Function
finishBreak
(shouldPlaySound = true, shouldPlanNext = true)
app/main.js:1084
↓ 5 callers
Function
finishMicrobreak
(shouldPlaySound = true, shouldPlanNext = true)
app/main.js:1073
↓ 5 callers
Method
getWindowPosition
(displayID = -1, { width = 800, height = 600, fullscreen = false } = {})
app/utils/displayManager.js:79
↓ 5 callers
Function
minutesRemaining
(milliseconds)
app/utils/utils.js:64
↓ 5 callers
Method
nextBreak
()
app/breaksPlanner.js:112
↓ 5 callers
Method
parse
(input)
app/utils/commands.js:121
↓ 5 callers
Function
resumeBreaks
(notify = true)
app/main.js:1212
↓ 5 callers
Method
start
()
app/utils/dndManager.js:25
↓ 4 callers
Method
_getOrCreateAsyncExec
()
app/utils/dndManager.js:171
↓ 4 callers
Function
calculateBackgroundColor
(color)
app/main.js:1163
↓ 4 callers
Function
createPreferencesWindow
()
app/main.js:1225
↓ 4 callers
Function
exposeUtils
()
app/utils/context-bridge-exposers.js:102
↓ 4 callers
Method
getDisplayBounds
(displayID = -1)
app/utils/displayManager.js:47
↓ 4 callers
Function
insideFlatpak
()
app/utils/utils.js:78
↓ 4 callers
Function
insideWindowsStore
()
app/utils/utils.js:82
↓ 4 callers
Function
realBreakInterval
()
app/preferences-renderer.js:339
↓ 4 callers
Function
setSameWidths
()
app/utils/sameWidths.js:1
↓ 4 callers
Method
skipToBreak
(delay = 100)
app/breaksPlanner.js:196
↓ 4 callers
Method
skipToMicrobreak
(delay = 100)
app/breaksPlanner.js:181
↓ 3 callers
Method
ideas
()
app/utils/ideasLoader.js:8
↓ 3 callers
Method
initialize
()
app/utils/flatpakPortalManager.js:15
↓ 3 callers
Method
latest
()
app/utils/versionChecker.js:2
↓ 3 callers
Function
planVersionCheck
(seconds = 1)
app/main.js:656
↓ 3 callers
Function
registerBreakShortcuts
({ settings, log, globalShortcut, breakPlanner, functions })
app/utils/breakShortcuts.js:73
↓ 3 callers
Method
reinitialize
(settings)
app/utils/appExclusionsManager.js:17
↓ 3 callers
Function
setupBreak
({ name, shortcutText, settings, log, globalShortcut, breakPlanner, functions })
app/utils/breakShortcuts.js:63
↓ 3 callers
Function
showNotification
(text)
app/main.js:1478
↓ 2 callers
Method
_getConfigValue
(filePath, key)
app/utils/dndManager.js:178
↓ 2 callers
Function
applyBreakHealthEffect
(danger, breakHealthMode, themeColor)
app/utils/breakHealthEffect.js:17
↓ 2 callers
Method
autoLaunchStatus
()
app/utils/autostartManager.js:43
↓ 2 callers
Method
correct
()
app/utils/scheduler.js:19
↓ 2 callers
Function
createContributorSettingsWindow
()
app/main.js:594
↓ 2 callers
Function
createSyncPreferencesWindow
()
app/main.js:623
↓ 2 callers
Method
disconnect
()
app/utils/autostartManager.js:55
↓ 2 callers
Method
doNotDisturb
(shouldUse)
app/breaksPlanner.js:263
↓ 2 callers
Function
enterManualAwaitPhase
(type, shouldPlaySound)
app/main.js:1051
↓ 2 callers
Function
exposeBreaks
(type)
app/utils/context-bridge-exposers.js:29
↓ 2 callers
Function
exposeGlobal
()
app/utils/context-bridge-exposers.js:15
↓ 2 callers
Function
formatKeyboardShortcut
(keyboardShortcut)
app/utils/utils.js:60
↓ 2 callers
Function
getBlurredBackgroundWindowOptions
()
app/main.js:691
↓ 2 callers
Function
initialize
(isAppStart = true)
app/main.js:214
↓ 2 callers
Function
insideSnap
()
app/utils/utils.js:86
↓ 2 callers
Function
insideWindowsPortable
()
app/utils/utils.js:90
↓ 2 callers
Function
maxWidth
(elements)
app/utils/sameWidths.js:25
↓ 2 callers
Method
naturalBreaks
(shouldUse)
app/breaksPlanner.js:255
↓ 2 callers
Method
nextBreakAfterNotification
()
app/breaksPlanner.js:154
↓ 2 callers
Function
notifyNewVersion
(silent)
app/process-renderer.js:53
↓ 2 callers
Function
parseDuration
(input)
app/utils/commands.js:294
↓ 2 callers
Function
postponeBreak
()
app/main.js:1103
↓ 2 callers
Method
postponeCurrentBreak
()
app/breaksPlanner.js:163
↓ 2 callers
Function
postponeMicrobreak
()
app/main.js:1095
↓ 2 callers
Method
reset
()
app/utils/appExclusionsManager.js:33
↓ 2 callers
Method
resume
()
app/breaksPlanner.js:224
↓ 2 callers
Method
setAutostart
* Sets the autostart status for the application using the XDG Background Portal. * @param {boolean} enabled - True to enable autostart, false to di
app/utils/flatpakPortalManager.js:47
↓ 2 callers
Method
setAutostartEnabled
(value)
app/utils/autostartManager.js:29
↓ 2 callers
Function
showContributorPreferencesButton
()
app/preferences-renderer.js:120
↓ 2 callers
Function
skipToBreak
(delay)
app/main.js:1130
↓ 2 callers
Function
skipToMicrobreak
(delay)
app/main.js:1111
next →
1–100 of 177, ranked by callers