# Task to merge — Detent

> A task from plan to merged pull request, laid out like an issue your team already uses: the request, the activity as it happens, one approval, the checks and Merge.

Canonical: https://detentui.com/blocks/task-to-merge
Last updated: 2026-11-10

## About

A task from plan to merged pull request, laid out like an issue your team already uses: the request, the activity as it happens, one approval, the checks and Merge.

## Details

- It reads like an issue, not an agent log: where it lives and its state along the top, the request written like a ticket, and the properties down the side.
- The activity puts people and the agent side by side: each event is one quiet line with who did it, and the moments that say something arrive as cards.
- Files changed fills in a line at a time while the work goes on, and the checks tick off by name.
- Failure is told, not hidden: a card says what the first test run caught and how it was fixed.
- Deploying waits for a person. The card says exactly what will ship and where, with Enter to approve and Escape to deny.
- Merge only wakes up once every check is green, and a comment left while it works is read before the next stage.

## Keyboard shortcuts

| Keys | Action |
| --- | --- |
| Enter | Approve the deploy |
| Esc | Deny it |

## Install (Pro required)

```bash
npx shadcn add @detent-pro/task-to-merge
```

## Related
- [All blocks](https://detentui.com/blocks)
- [Pro](https://detentui.com/pro)
