# remoting: Adjust prompt level for dev server prompts \(\#11440\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/237cc9b4a9340e7cd23c12ef9ef4988deeecc520)

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

Visibility: public

Requested revision: 237cc9b4a9340e7cd23c12ef9ef4988deeecc520

Requested commit: 237cc9b4a9340e7cd23c12ef9ef4988deeecc520

Commit: 237cc9b4a9340e7cd23c12ef9ef4988deeecc520

Tree: f2a2469c24f23a871ba5604f97a7ab4e1cee9990

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
remoting: Adjust prompt level for dev server prompts (#11440)

This changes the remoting prompts to use `PromptLevel::Warning` instead
of `PromptLevel::Destructive`.
In #11015 we decided to apply PromptLevel::Destructive to prompts other
than the new path picker. However, we did not notice that this breaks
confirmation with the keyboard, so it should really only be used in
specific situations (e.g. replacing a file with the remote "save as"
picker, because it matches the behavior of the macOS file dialog).

Release Notes:

- N/A
```

## Parents

- [38a50a042a1b6d8a114961b33ba52352f38df855](https://git.cafe/gitcafe/zed/commit/38a50a042a1b6d8a114961b33ba52352f38df855?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/237cc9b4a9340e7cd23c12ef9ef4988deeecc520?format=markdown)
