li-task-v2

Supported Features

Document
Media
Include
Document Creation Flow
Push Message
Table Dashboard
Display Filter
Search Indexing
System Metadata
Webhook Conditions

Default UI

Task side panel

Storage Format

{
  state: <String>, // 'requested' | 'accepted' | 'completed'
  deadline: <ISO8601 String>,
  priority: <String>, // optional, only 'high' allowed
  requested: {
    date: <ISO8601 String>,
    user: <Integer>
  },
  accepted: {
    date: <ISO8601 String>,
    user: <Integer>
  },
  completed: {
    date: <ISO8601 String>,
    user: <Integer>
  },
  assignees: [<Integer>]
}

Content Type Config

{
  handle: 'myContentType',
  // ...
  metadata: [
    {
      handle: 'myHandle'
      type: 'li-task-v2',
      config: {
        index: true, // optional, default: false. Added in: release-2023-07
        required: true,
        requiredErrorMessage: 'Provide a value',
        realtimeNotification: true,
        label: 'Proofreading',
        icon: 'flashlight',
        showInTaskList: true,
        isProofreading: true,
        updateLastProofreadRevision: true,
        requestDeadline: true,
        linkToDashboard: 'myDashboard',
        setPriority: true,
        assignUsers: true,
        requested: {
          beforeLabel: 'Request proofreading',
          afterLabel: 'Proofreading requested'
        },
        accepted: {
          beforeLabel: 'Begin proofreading',
          afterLabel: 'Started with proofreading'
        },
        completed: {
          beforeLabel: 'Finish proofreading',
          afterLabel: 'Proofreading finished'
        },
        urgency: {
          high: {value: 2, unit: 'hours'}
        }
      }
    }
    // ...
  ]
}