iachat/app/javascript
Petterson 03bde0a8aa
fix: Truncate name in attachment bubble (#11540)
# Pull Request

## Description

This PR fixes a UI issue where very long attachment filenames (sometimes
including parameters or hashes) would overflow or break the layout in
the message bubble. The fix applies Tailwind's truncate utility class to
ensure these filenames are properly truncated with ellipsis, preserving
layout consistency and improving readability.

Fixes #11514 

## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)

## How Has This Been Tested?

- Manually tested with attachment messages containing long filenames
(e.g., with hashes, query params, or excessive length).
- Verified that filenames are now truncated with ellipsis.

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] My changes generate no new warnings
- [x] New and existing unit tests pass locally with my changes

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2025-05-27 14:24:43 -06:00
..
dashboard fix: Truncate name in attachment bubble (#11540) 2025-05-27 14:24:43 -06:00
design-system feat: Add histoire for component playground (#10256) 2024-10-09 22:10:53 -07:00
entrypoints feat: handle rails turbo morphing (#11422) 2025-05-07 10:22:08 +05:30
portal chore: Make the table of contents in help center sticky (#11448) 2025-05-09 08:44:44 +05:30
sdk feat: handle rails turbo morphing (#11422) 2025-05-07 10:22:08 +05:30
shared feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
superadmin_pages chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
survey feat: Improve CSAT responses (#11485) 2025-05-16 14:18:52 +05:30
v3 feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
widget feat: Improve CSAT responses (#11485) 2025-05-16 14:18:52 +05:30
histoire.setup.ts feat: Add compose conversation components (#10457) 2024-12-05 16:31:47 -08:00