nextcloud / nextcloud/talk-ios

Show voice messages duration in the chat

Open
#777 0 comments 2 reactions 0 assignees View on GitHub
0. Needs triage enhancement
Dominant language
Swift
Stars
230
Forks
121
Avg merge
1d 6h
Merged PRs (30d)
38

Description

**Is your feature request related to a problem? Please describe.**
A simple UX annoyance: a voice message duration is not shown until it is played, while it would be useful to know its duration in advance.

As it is right now:
| After it has been received | While playing |
|--------------|-----------|
| ![IMG_62B68FFE69AF-1](https://user-images.githubusercontent.com/48513706/166504939-6a723f95-4af3-4aaf-b5aa-7efddf38c4cb.jpeg) | ![IMG_F083D2915CAD-1](https://user-images.githubusercontent.com/48513706/166504966-499c56aa-3cd0-4735-b191-a7b3c7c83ec0.jpeg) |

**Describe the solution you'd like**

What would be nice is something more similar to Telegram or other chat apps:
| After it has been received | While playing |
|--------------|-----------|
| ![IMG_34181330BD85-1](https://user-images.githubusercontent.com/48513706/166505359-2483f00e-61af-4351-a36e-901af5715676.jpeg) | ![IMG_165B67162AA1-1](https://user-images.githubusercontent.com/48513706/166505390-a9a92338-4bf1-4244-ae4f-ef6a73254759.jpeg) |

| After it has been received, with Nextcloud Talk UI |
|--------------|
| ![IMG_62B68FFE69AF-1 copy](https://user-images.githubusercontent.com/48513706/166505745-6cd0358b-d217-4209-8324-7311af284a5c.jpeg) |

I know that the main issue here is due to the fact that the voice message only gets downloaded from the server after the play button is tapped, however I believe that caching a small bit of data in order to give the user a better experience (because 1. the duration can be displayed in the chat in advance and 2. the message plays instantly after tapping the play button) would be a good trade-off.

**Describe alternatives you've considered**
Not relevant.

**Additional context**
Using Nextcloud Talk iOS 14.0.0.

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.