--- title: li-task-v2 --- ## Supported Features | Feature | Supported | | ------- | :-------: | | Document | ✔ | | Media | ✗ | | Include | ✗ | | Document Creation Flow | ✗ | | Push Message | ✗ | | Usage Log | ✗ | | Table Dashboard | ✔ | | Display Filter | ✔ | | Search Indexing | ✔ | | System Metadata | ✗ | | Planning System | ✗ | | Webhook Conditions | ✗ | ## Default UI Task side panel ## Storage Format ```js { state: , // 'requested' | 'accepted' | 'completed' deadline: , priority: , // optional, only 'high' allowed requested: { date: , user: }, accepted: { date: , user: }, completed: { date: , user: }, assignees: [], mode: } ``` ## Content Type Config ```js { handle: 'myContentType', // ... metadata: [ { handle: 'myHandle' type: 'li-task-v2', config: { index: true, // optional, default: false required: true, requiredErrorMessage: 'Provide a value', realtimeNotification: true, 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'} }, // Modes allow users to select how they approach a task. Once // configured, selecting a mode becomes mandatory for every newly // created task. Modes are displayed in the order they are defined, // with the first mode being the default. Added in release-2024-11 modes: [ { handle: 'thorough', label: 'Thorough', icon: 'glasses' }, { handle: 'superficial', label: 'Superficial', icon: 'speedometer' } ] }, ui: { label: 'Proofreading' // optional, takes camelized name otherwise } } // ... ] } ```