element-hq / element-hq/element-web

The behaviour when clicking a replied-to media message is confusing

Open
#20,150 4 comments 0 reactions 0 assignees View on GitHub
A-Media A-Replies A-Timeline O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

![image](https://user-images.githubusercontent.com/2803622/145696341-83f77d5a-2292-4b4f-9739-3f789d173bb4.png)
![image](https://user-images.githubusercontent.com/2803622/145696422-20437de4-7405-4426-a011-6a04e1779624.png)

1. Clicking quoted image in the reply to image jumps the timeline to the image. I can open and view the image from there. I would like to open the image in lightbox from clicking it in the reply quote.
2. Clicking the video "button" will not jump the timeline to the original message. It opens the file download dialogue, as it does for generic files, but there isn't an indication of a download button. I would like the button to open a lightbox where I can view the video. If that isn't possible at least it should jump to the original message in the timeline to view it there. There should be a dedicated download button to start the download action if at all, as that shouldn't be the primary interaction with a video.
3. Same for audio as for video, but what I would really want is since even the full audio player is so small, you might as well use the same UI piece in the quote and allow playback right there.
4. Generic file. Again clicking the button should jump to the original message and download should only occur when there is a UI hint that it will start a download. However this is the least weird one of the four since downloading is the expected interaction with a file.

### Have you considered any alternatives?

see above

### Additional context

_No response_

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.