# Add desktop-backed confirm dialog API for worktree deletion · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/0068a93cfac7f799efed7b2501a17e0b52fbf18c)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: 0068a93cfac7f799efed7b2501a17e0b52fbf18c

Requested commit: 0068a93cfac7f799efed7b2501a17e0b52fbf18c

Commit: 0068a93cfac7f799efed7b2501a17e0b52fbf18c

Tree: 7fb98a8d2e5c91f555da9c51538567d788801623

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add desktop-backed confirm dialog API for worktree deletion

- add `dialogs.confirm` to native IPC/contracts and desktop preload/main bridge
- switch sidebar worktree deletion prompt from `window.confirm` to native API
- add `showDesktopConfirmDialog` helper with unit tests for dialog behavior

```

## Parents

- [dd912666f2d1d96081febd52000f01c80aa21420](https://git.cafe/gitcafe/t3code/commit/dd912666f2d1d96081febd52000f01c80aa21420?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/0068a93cfac7f799efed7b2501a17e0b52fbf18c?format=markdown)
