element-hq / element-hq/element-web

Filenames in uploads get unhelpfully truncated

Open
#31,844 5 comments 0 reactions 0 assignees View on GitHub
A-Media A-Timeline O-Frequent S-Minor T-Defect X-Needs-Design Z-ProductPolish
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Upload a file with a longish name like `gemSpec_Krypt_V2.17.0.pdf`
2. See it displayed in the timeline as:
Image

3. feel sad (especially as there's a bunch of other different files in the room with similar names and you now have to hoverover to see which is which)

### Outcome

#### What did you expect?

don't randomly truncate the filename; cap it at the width of the timeline or something.

#### What happened instead?

arbitrary sad truncation.

### Operating system

macOS

### Browser information

chrome

### URL for webapp

develop.element.io

### Application version

Element version: 1.12.8 Crypto version: Rust SDK 0.16.0 (95b5e83), Vodozemac 0.9.0

### Homeserver

matrix.org

### 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.