Refactor text overflow solution
Open
feature-request
- Dominant language
- Rust
- Stars
- 22.5k
- Forks
- 773
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
At different places inside the source code it is necessary to render text that is overflowing the width by shortening it and displaying three dots '...' at the end/start instead of the full text.
This code is duplicated and the refactoring should provide a centralized way to handle this without duplicating code.
**Additional context**
Caught attention in PR #2350 for issue #2172
Contributor guide
Assessment
This issue has not been assessed yet.