Skip to content

Assignee & Assignment ​

These two components handle task/assignment UI patterns: viewing assignment details and creating/editing an assignment through a modal form.

ue-assignee-details ​

Renders a compact list item showing the current assignee's avatar and name. Clicking it opens a popover card with the full assignment summary, description, and attachment list.

Props ​

PropTypeDefaultDescription
assignmentObject{}Raw assignment record (due date, description, etc.)
formattedAssignmentObject{}Pre-formatted version for display (prependAvatar, assigneeName, subDescription)
isAssigneeBooleanfalseWhether the current user is the assignee (controls visibility)
isAuthorizedBooleanfalseWhether the current user can view/edit the assignment
attachmentsArray[]File attachments linked to the assignment
attachmentsLoadingBooleanfalseShow a loading indicator on the attachments section
filepondObjectnullFilePond config for uploading new attachments

Events ​

EventDescription
update:attachmentsEmitted when attachments change
update:attachmentsLoadingEmitted when attachment loading state changes
click:completeEmitted when the "Mark Complete" action is triggered
click:saveEmitted when the "Save" action is triggered

ue-assignment-modal ​

Renders a modal form for creating or editing an assignment. Includes fields for assignee, due date, description, and preliminary tasks.

Props ​

PropTypeDefaultDescription
modelValueObject{}Controls modal open state via v-model
loadingBooleanfalseShow a loading state on submit buttons
formObject{}Initial form model (assignee_id, due_at, description, preliminaries)
usersArray[]List of available assignee options
filepondObject{}FilePond config for file attachments
variantString'outlined'Vuetify variant for form inputs
disabledBooleanfalseDisable all form inputs
minDueDaysNumber0Minimum number of days in the future for the due date

Events ​

EventDescription
update:modelValueEmitted to close/open the modal
update:formEmitted when form fields change
submitEmitted on form submission