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

[View on GitCafe](https://git.cafe/flambo/t3code/commit/bc312825cf32833f99d49ab285a459709c708e1d)

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

Visibility: public

Requested revision: bc312825cf32833f99d49ab285a459709c708e1d

Requested commit: bc312825cf32833f99d49ab285a459709c708e1d

Commit: bc312825cf32833f99d49ab285a459709c708e1d

Tree: 53e86dded03f3055c337dff7a9bd6dc55d3bd2aa

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

- [6d9a467e75c852a9c4fda5af48dfba45c7a8caf6](https://git.cafe/flambo/t3code/commit/6d9a467e75c852a9c4fda5af48dfba45c7a8caf6?format=markdown)

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