MCPcopy Create free account

hub / github.com/breiko83/zwo-editor / functions

Functions136 in github.com/breiko83/zwo-editor

↓ 28 callersFunctionrenderEditor
(props = {})
src/components/Editor/Editor.test.tsx:38
↓ 22 callersFunctionuseWorkoutState
(initialId: string)
src/components/Editor/hooks/useWorkoutState.ts:36
↓ 13 callersFunctioncalculateSpeed
(pace: number = 0)
src/components/Editor/Editor.tsx:427
↓ 12 callersFunctionuseKeyboardShortcuts
({ actionId, removeBar, addTimeToBar, removeTimeToBar, addPowerToBar, removePowerToBar, }: Keyboar
src/components/Editor/hooks/useKeyboardShortcuts.ts:15
↓ 10 callersFunctionaddBar
( zone: number = 1, duration: number = 300, cadence: number = 0, pace: number = 0, length:
src/components/Editor/Editor.tsx:122
↓ 5 callersFunctionaddTrapeze
( zone1: number, zone2: number, duration: number = 300, pace: number = 0, length: number =
src/components/Editor/Editor.tsx:143
↓ 5 callersFunctiongetElementText
(elements: any[], elementName: string)
src/services/xmlService.ts:165
↓ 4 callersFunctionaddFreeRide
( duration: number = 600, cadence: number = 0, length: number = 1000, incline: number = 0 )
src/components/Editor/Editor.tsx:164
↓ 4 callersFunctionaddInstruction
(text = "", time = 0, length = 0, openEditor = true)
src/components/Editor/Editor.tsx:210
↓ 4 callersFunctionaddInterval
( repeat: number = 3, onDuration: number = 30, offDuration: number = 120, onPower: number = 1,
src/components/Editor/Editor.tsx:181
↓ 4 callersFunctionhandleOnChange
(id: string, values: BarType)
src/components/Editor/Editor.tsx:95
↓ 4 callersFunctionhandleOnClick
(id: string)
src/components/Editor/Editor.tsx:104
↓ 3 callersFunctionhandleTimeChange
(newHours: string, newMinutes: string, newSeconds: string)
src/components/Editor/TimePicker.tsx:39
↓ 2 callersFunctioncalculateColors
(start: number, end: number)
src/components/Trapeze/Trapeze.tsx:188
↓ 2 callersFunctionchangeInstruction
(id: string, values: Instruction)
src/components/Editor/Editor.tsx:226
↓ 2 callersFunctiongenerateId
()
src/components/Editor/Editor.tsx:81
↓ 2 callersFunctionregisterValidSW
(swUrl, config)
src/serviceWorker.js:57
↓ 2 callersFunctionremoveBar
(id: string)
src/components/Editor/Editor.tsx:241
↓ 1 callersFunctionaddPowerToBar
(id: string)
src/components/Editor/Editor.tsx:307
↓ 1 callersFunctionaddTimeToBar
(id: string)
src/components/Editor/Editor.tsx:247
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl, config)
src/serviceWorker.js:101
↓ 1 callersFunctiondeleteInstruction
(id: string)
src/components/Editor/Editor.tsx:236
↓ 1 callersFunctionduplicateBar
(id: string)
src/components/Editor/Editor.tsx:367
↓ 1 callersFunctiongetPace
(id: string)
src/components/Editor/Editor.tsx:578
↓ 1 callersFunctionhandleCadenceChange
(cadence: number)
src/components/Trapeze/Trapeze.tsx:40
↓ 1 callersFunctionhandleCadenceChange
(cadence: number)
src/components/Bar/Bar.tsx:67
↓ 1 callersFunctionhandleCadenceChange
(cadence: number)
src/components/FreeRide/FreeRide.tsx:35
↓ 1 callersFunctionhandleDragging
(position: number)
src/components/Comment/Comment.tsx:45
↓ 1 callersFunctionhandleInclineChange
(incline: number)
src/components/Bar/Bar.tsx:80
↓ 1 callersFunctionhandleInclineChange
(incline: number)
src/components/FreeRide/FreeRide.tsx:46
↓ 1 callersFunctionhandleOnChange
(id: string, values: BarType)
src/components/Interval/Interval.tsx:68
↓ 1 callersFunctionhandleResize
(dWidth: number, dHeight: number)
src/components/Bar/Bar.tsx:128
↓ 1 callersFunctionhandleResize
(dWidth: number)
src/components/FreeRide/FreeRide.tsx:82
↓ 1 callersFunctionhandleResize1
(dHeight: number)
src/components/Trapeze/Trapeze.tsx:98
↓ 1 callersFunctionhandleResize2
(dHeight: number)
src/components/Trapeze/Trapeze.tsx:127
↓ 1 callersFunctionhandleResize3
(dWidth: number, dHeight: number)
src/components/Trapeze/Trapeze.tsx:156
↓ 1 callersFunctionhandleResizeStop
(dWidth: number, dHeight: number)
src/components/Bar/Bar.tsx:93
↓ 1 callersFunctionhandleResizeStop
(dWidth: number)
src/components/FreeRide/FreeRide.tsx:60
↓ 1 callersFunctionhandleResizeStop1
(dHeight: number)
src/components/Trapeze/Trapeze.tsx:83
↓ 1 callersFunctionhandleResizeStop2
(dHeight: number)
src/components/Trapeze/Trapeze.tsx:87
↓ 1 callersFunctionhandleResizeStop3
(dWidth: number, dHeight: number)
src/components/Trapeze/Trapeze.tsx:92
↓ 1 callersFunctionhandleTouch
(position: number)
src/components/Comment/Comment.tsx:29
↓ 1 callersFunctionhoursBy10Minutes
(hours: number)
src/components/Editor/TimeAxis.tsx:4
↓ 1 callersFunctionloadRunningTimes
()
src/components/Editor/hooks/useWorkoutState.ts:5
↓ 1 callersFunctionmoveLeft
(id: string)
src/components/Editor/Editor.tsx:381
↓ 1 callersFunctionmoveRight
(id: string)
src/components/Editor/Editor.tsx:386
↓ 1 callersFunctionremovePowerToBar
(id: string)
src/components/Editor/Editor.tsx:337
↓ 1 callersFunctionremoveTimeToBar
(id: string)
src/components/Editor/Editor.tsx:277
↓ 1 callersFunctionrenderBar
(bar: BarType)
src/components/Editor/Editor.tsx:446
↓ 1 callersFunctionrenderBar
(bar: BarType, withLabel: boolean)
src/components/Interval/Interval.tsx:164
↓ 1 callersFunctionrenderComment
(instruction: Instruction, index: number)
src/components/Editor/Editor.tsx:529
↓ 1 callersFunctionrenderFreeRide
(bar: BarType)
src/components/Editor/Editor.tsx:488
↓ 1 callersFunctionrenderInterval
(bar: BarType)
src/components/Editor/Editor.tsx:503
↓ 1 callersFunctionrenderTrapeze
(bar: BarType)
src/components/Editor/Editor.tsx:468
↓ 1 callersFunctionsave
()
src/components/Comment/EditComment.tsx:16
↓ 1 callersFunctionsetPace
(value: string, id: string)
src/components/Editor/Editor.tsx:548
↓ 1 callersFunctiontoggleTextEditor
()
src/components/Editor/Editor.tsx:593
↓ 1 callersFunctionzwiftStyle
(zone: number)
src/components/Trapeze/Trapeze.tsx:205
↓ 1 callersFunctionzwiftStyle
(zone: number)
src/components/Bar/Bar.tsx:160
FunctionApp
()
src/App.tsx:6
FunctionBar
(props: { id: string; time?: number; length?: number; power: number; cadence: number; ftp: number;
src/components/Bar/Bar.tsx:10
FunctionComment
(props: { instruction: Instruction; durationType: string; width: number; onChange: Function; onClick
src/components/Comment/Comment.tsx:9
FunctionDistanceAxis
({ width }: { width: number })
src/components/Editor/DistanceAxis.tsx:4
FunctionEditComment
(props: { instruction: Instruction; onChange: Function; onDelete: Function; dismiss: Function; })
src/components/Comment/EditComment.tsx:7
FunctionEditor
({ match }: RouteComponentProps<TParams>)
src/components/Editor/Editor.tsx:29
FunctionFooter
()
src/components/Footer/Footer.tsx:4
FunctionFreeRide
(props: { id: string; time?: number; length?: number; cadence: number; incline: number; sportType:
src/components/FreeRide/FreeRide.tsx:9
FunctionInterval
(props: { id: string; repeat: number; onDuration?: number; offDuration?: number; onLength?: number;
src/components/Interval/Interval.tsx:7
FunctionLabel
(props: { sportType: string; duration: string; distance?: number; power?: number; powerStart?: numbe
src/components/Label/Label.tsx:8
FunctionLeftRightToggle
({ label, leftValue, rightValue, leftIcon, rightIcon, leftLabel, rightLabel, selected, onChange }: LeftRightTo
src/components/Editor/LeftRightToggle.tsx:21
FunctionPopop
(props: { width: string, height?: string, dismiss: Function, children: any})
src/components/Popup/Popup.tsx:6
FunctionRunTimeInput
({time, onChange, children})
src/components/Editor/RunningTimesEditor.tsx:58
FunctionRunningTimesEditor
({ times, onChange }: RunningTimesEditorProps)
src/components/Editor/RunningTimesEditor.tsx:20
FunctionSpeedAxis
()
src/components/Editor/SpeedAxis.tsx:4
FunctionTimeAxis
({ width }: { width: number })
src/components/Editor/TimeAxis.tsx:7
FunctionTimeColumn
({ value, max, onChange })
src/components/Editor/TimePicker.tsx:109
FunctionTimePicker
({ value, placeholder = "00:00:00", className, onChange })
src/components/Editor/TimePicker.tsx:11
FunctionToastMessage
({ message, onDismiss })
src/components/ToastMessage/ToastMessage.tsx:12
FunctionTrapeze
(props: { id: string; time?: number; length?: number; startPower: number; endPower: number; cadenc
src/components/Trapeze/Trapeze.tsx:14
FunctionWorkoutCanvas
({ bars, instructions, actionId, sportType, durationType, segmentsWidth, canvasRef, segmentsRe
src/components/Editor/WorkoutCanvas.tsx:59
FunctionWorkoutMetadata
({ name, description, author, bars, sportType, durationType, paceUnitType, ftp, setDurationT
src/components/Editor/WorkoutMetadata.tsx:22
FunctionWorkoutSettings
({ sportType, ftp, setFtp, weight, setWeight, runningTimes, setRunningTimes, })
src/components/Editor/WorkoutSettings.tsx:16
FunctionWorkoutTextEditor
({ onChange, sportType, durationType })
src/components/Editor/WorkoutTextEditor.tsx:11
FunctionWorkoutToolbar
({ onNew, onDownload, onUpload, })
src/components/Editor/WorkoutToolbar.tsx:15
FunctionZoneAxis
()
src/components/Editor/ZoneAxis.tsx:5
FunctionadjustPower
* Adjust power for a bar
src/services/workoutService.ts:313
FunctionadjustTime
* Adjust time for a bar
src/services/workoutService.ts:269
FunctioncalculateSpeed
* Calculate speed from pace
src/services/workoutService.ts:12
FunctioncreateBar
* Create a new bar segment
src/services/workoutService.ts:20
FunctioncreateFreeRide
* Create a new free ride segment
src/services/workoutService.ts:86
FunctioncreateInterval
* Create a new interval segment
src/services/workoutService.ts:107
FunctioncreateTrapeze
* Create a new trapeze segment (warmup/cooldown)
src/services/workoutService.ts:53
FunctioncreateWorkoutXml
({ author, name, description, sportType, durationType, tags, bars, instructions, }: WorkoutDat
src/components/Editor/createWorkoutXml.ts:4
FunctioncreateWorkoutXml
* Create XML from workout data
src/services/xmlService.ts:24
FunctiondownloadWorkout
()
src/components/Editor/Editor.tsx:391
FunctiondownloadWorkout
* Download workout as XML file
src/services/xmlService.ts:340
FunctionduplicateBar
* Duplicate a bar segment
src/services/workoutService.ts:180
FunctionextractAllDistances
* Extract all distances from block
src/services/runningTextParserService.ts:337
FunctiongenerateId
* Generate a random ID
src/services/workoutService.ts:359
FunctionhandleAddInterval
()
src/components/Interval/Interval.tsx:111
next →1–100 of 136, ranked by callers