# LegacyTaskPanel

> A read-only task details panel built on the thread panel; deprecated, because task details are a dialog with a description list.

Source: https://raft-design.botiverse.build/components/legacy-task-panel. Generated from the current release; where it differs from what you remember, this page is right.

LegacyTaskPanel lays out a task's details as a side panel: a header with the task's title, then fields, a status and meta rows, built on [ThreadPanel](https://raft-design.botiverse.build/components/thread-panel.md). No product uses it, and it is removed in raft-ui 1.0. Task details are a centered [Dialog](https://raft-design.botiverse.build/components/dialog.md) instead, with the properties in a [DescriptionList](https://raft-design.botiverse.build/components/description-list.md) and the history in a collapsed [Timeline](https://raft-design.botiverse.build/components/timeline.md); how they are assembled is in [Composites](https://raft-design.botiverse.build/patterns/composites.md#task-details), and the dialog's size is in [Tasks](https://raft-design.botiverse.build/patterns/tasks.md#structure).

## When to use

| Situation                                         | Use                                                                                                                  |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| A task's details                                  | A [Dialog](https://raft-design.botiverse.build/components/dialog.md), built as in [Composites](https://raft-design.botiverse.build/patterns/composites.md#task-details) |
| A task's properties: Status, Assignee, Created by | [DescriptionList](https://raft-design.botiverse.build/components/description-list.md)                                                           |
| What happened to the task                         | A collapsed [Timeline](https://raft-design.botiverse.build/components/timeline.md)                                                                      |
| A task in a list or on a board                    | [TaskCard](https://raft-design.botiverse.build/components/task-card.md)                                                                                |

## API

### LegacyTaskPanelActions

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelBody

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelField

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelFieldLabel

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelFieldText

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelFieldTitle

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelHeader

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelIcon

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelMeta

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelMetaLabel

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelMetaRow

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelMetaValue

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelRoot

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `framed` | `boolean` | `false` | Docs preview chrome. Shell hosts (Playground) leave this off. |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelStatus

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelSection

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelTitle

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

### LegacyTaskPanelTitleMeta

Deprecated: No consumer uses it; compose read-only task details from Dialog and DescriptionList. Removed in raft-ui 1.0.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `render` | `ReactElement \| ((props, state) => ReactElement)` |  | Allows you to replace the component's HTML element with a different tag, or compose it with another component. |

Also takes the attributes of its element.

## Changes

- 0.2.0 (Fixed): Fixed conditional-hook rendering in `AppShellSidebarTrigger` and `LegacyTaskPanelRoot`, and corrected sortable Composer drag-overlay mapping.
