element-hq / element-hq/element-android

Retrying & deleting failed messages

Open
#2,803 3 comments 6 reactions 0 assignees View on GitHub
A-Timeline O-Frequent S-Minor Sponsored T-Defect X-Needs-Investigation Z-UI UX
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

When a message failed to send

- [ ] Display an exclamation mark (on a red background). In case of a multi-line message, the tick is aligned with the last line:
![image](https://user-images.githubusercontent.com/8969772/107430465-7a045b80-6b25-11eb-8520-355678e482b1.png)

- [ ] When a message with an error is selected, show a bottom sheet with:
- the message being actioned, to re-enforce context
- the 4 following actions: Retry - Delete - Edit - Copy

![image](https://user-images.githubusercontent.com/8969772/107430538-8e485880-6b25-11eb-9b0e-78b31db92478.png)

- If users press on Retry, send again the message and display a loading wheel
![image](https://user-images.githubusercontent.com/8969772/107430687-cb144f80-6b25-11eb-9f59-0098ddda85c6.png)
- If users press on Delete, a confirmation dialog is displayed
![image](https://user-images.githubusercontent.com/8969772/107430748-dff0e300-6b25-11eb-9a1c-973e421facec.png)

- [ ] When error messages occur, a general error message appears above the composer. Selecting Delete will delete all error messages. Pressing on Retry will attempt to resend error messages.
![image](https://user-images.githubusercontent.com/8969772/107430810-f5660d00-6b25-11eb-8dc3-78158312bb00.png)
If users press on Delete, a confirmation dialog is displayed
![image](https://user-images.githubusercontent.com/8969772/107430860-0282fc00-6b26-11eb-8af7-de7f7dbc4b9b.png)

- [ ] In room lists, decorate rooms with errored messages with the error icon. Rooms with errors should be sorted first
![image](https://user-images.githubusercontent.com/8969772/107430998-2a725f80-6b26-11eb-8877-8dc771b01ee7.png)

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.