element-hq / element-hq/element-android

Report user functionality does not show a confirmation dialog

Open
#8,865 3 comments 1 reaction 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Where are you starting? What can you see?

Inside of an encrypted, private room with one other person, I have hard-pressed a particular message on mobile. I see a list of options, and at the bottom there is a "Report User" entry.

2. What do you click?

The bottom entry, accidentally, labelled "Report User".

### Outcome

#### What did you expect?
As I have come to expect with report functionality across various platforms and services, there should be a confirmation dialog that will allow the user to withdraw the tentative report.

#### What happened instead?
The user was reported, whatever that means, and I was prompted to ignore them, which I did not.

I see that this feature is relatively new and was added in #8796. While I very much agree that having this option is important for a communications platform, I can't at all understand why there is no confirmation dialog given it is a "destructive action". I'm a bit worried now that I may have placed the user's account under undue scrutiny and jeopardy as a result of this mistake of mine.

I understand this is a mistake on my end, but I know I'm neither the first nor the last individual to accidentally tap and press things on their smartphone, especially when the entry is located at the bottom of the screen, as is the 3-button navigation for Android devices. There's good reason why confirmation dialogs exist, especially when situations involve serious actions such as reporting content and/or users.

### Your phone model

_No response_

### Operating system version

Android 14

### Application version and app store

Element version 1.6.14

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

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.