element-hq / element-hq/element-web

"Unknown Command" dialog has unexpected default

Open
#25,322 1 comment 0 reactions 0 assignees View on GitHub
A-Composer A-Dialogs O-Occasional S-Tolerable T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Type an invalid slash command in the composer (eg. /bob) and press enter
2. See dialog appear, press enter to hit the default button

### Outcome

#### What did you expect?
I expected that the default action would be to cancel (partially because the dialog had told me how to send a message starting with a slash).

#### What happened instead?
The default action is, "Send as Message": the message got sent.

### Operating system

_No response_

### Application version

_No response_

### How did you install the app?

_No response_

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.