element-hq / element-hq/element-web

Improve text truncation in file download tile for better clarity

Open
#18,302 1 comment 0 reactions 0 assignees View on GitHub
A-File-Download A-Voice-Messages O-Frequent S-Tolerable X-Needs-Design
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

See https://github.com/matrix-org/matrix-react-sdk/pull/6509#issuecomment-889941877 and internal discussion

Todo:
- [ ] Make filename truncation happen in the middle of the filename so the ellipses don't run into the filename extension and make the extension ambiguous
- [ ] Don't truncate the file size

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.