List of assigned user IDs
Custom colors
OptionalcompletedUser IDs that have marked the assignment complete on their side. The metadata bar uses this both to decide what label the mark-complete button shows for the current viewer and to colour the status chip when all assignees are done.
OptionalcurrentIdentifier of the user currently viewing the editor — used to
decide whether to show the Mark complete / Re-open button (only
shown when this user is in assignedTo).
Current due date (ISO string or null)
OptionalhideHide the "Assigned to" row entirely. Useful when a non-owner (e.g. a student) opens the assignment — they shouldn't see who else is on the assignment.
OptionalhideSuppress the per-viewer "Mark complete" / "Re-open" button in the metadata bar. Use when completion is driven externally (e.g. the assignment owner toggles each student's status in a dedicated activity panel rather than letting assignees self-mark).
Custom icons
Custom labels
Callback when assigned users change
Callback when due date changes
Callback when hours estimate changes
Callback when minutes estimate changes
OptionalonToggle callback fired when an assignee clicks Mark complete or
Re-open. The metadata bar simply notifies; the parent owns the
completedBy mutation.
Available participants for assignment
OptionalpracticedTotal minutes practiced so far (only consulted in readOnly mode).
Used to show "time remaining" alongside the time-estimate target.
If omitted, the read-only display falls back to just the target.
OptionalreadWhether metadata fields are read-only
Current assignment status. Derived from completedBy + activity —
the metadata bar treats this value as read-only and renders it as
a coloured chip; the user controls completion through the
per-assignee Mark-complete button instead.
Custom styles
Current hours component of the time estimate
Current minutes component of the time estimate
Props for the AssignmentMetadata component.
Remarks
Displays and manages assignment metadata fields including due date, time estimate, status, and assigned participants. When readOnly is true, all fields are displayed but not editable.
Example