kor TürkçeGitHub

Schedule

Places work on a calendar by resource and highlights overlaps.

kor/ui/ScheduleSource

When to use

  • Plan work across equipment, teams or other resources that can have conflicting assignments.

Examples

Read-only schedule

Loading the example

<k:Schedule label="Inspection plan" start="2026-12-01" today="2026-12-02" days="6" editable="false">
	<k:lanes><k:ScheduleLane key="bench" title="Test bench"/></k:lanes>
	<k:tasks><k:ScheduleTask key="I-42" lane="bench" title="Final inspection" start="2026-12-02" end="2026-12-04" progress="40"/></k:tasks>
</k:Schedule>

Reschedule production

Move WO-82 to Line B to resolve the overlap. End dates are inclusive.

Loading the example

<k:Schedule label="Production plan" start="2026-12-01" today="2026-12-03" days="8" taskChange=".onChange" taskPress=".onOpen">
	<k:lanes>
		<k:ScheduleLane key="a" title="Line A" text="Assembly" capacity="80"/>
		<k:ScheduleLane key="b" title="Line B" text="Assembly" capacity="40"/>
	</k:lanes>
	<k:tasks>
		<k:ScheduleTask key="WO-81" lane="a" title="WO-81" text="Valve assembly" start="2026-12-02" end="2026-12-04" progress="50" state="info"/>
		<k:ScheduleTask key="WO-82" lane="a" title="WO-82" text="Pump assembly" start="2026-12-04" end="2026-12-06" state="wait"/>
	</k:tasks>
</k:Schedule>

Keyboard

← →
Move a focused task by one day.
Shift+← Shift+→
Move the end date by one day.
↑ ↓
Move to an adjacent lane.
Enter
Open the focused task.

API

Properties

NameTypeDefaultDescription
startanyFirst displayed day as a Date or yyyy-MM-dd
daysint28Number of days shown
todayanyReference date for today. Defaults to the system date
dayWidthint44Width of one day in pixels
editablebooleantrueWhether tasks can be edited
labelstringAccessible name

Aggregations

NameTypeDescription
lanesScheduleLane[]Resource lanes
tasksScheduleTask[]Scheduled tasks

Events

NameTypeDescription
taskChangetask: kor.ui.ScheduleTask
conflict: boolean
A task changed. Its start, end and lane have already been updated
taskPresstask: kor.ui.ScheduleTaskA task was opened

ScheduleLane

A resource lane on the schedule.

Properties

NameTypeDefaultDescription
keystringLane key
titlestringTitle
textstringSecondary text
capacityfloat-1Utilization percentage

ScheduleTask

A task placed on a resource schedule.

Properties

NameTypeDefaultDescription
keystringTask key
lanestringKey of the assigned lane
titlestringTitle
textstringSecondary text
startanyStart as a Date or yyyy-MM-dd
endanyInclusive end date
progressfloat0Completion as a percentage
statestringinfosuccess, wait, danger, info or none

Related

BoardDateRangeField