iachat/app
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
..
actions
assets
builders fix: Prevent creating duplicate messages via Instagram echo events (#11535) 2025-05-22 11:02:28 +05:30
channels
controllers feat: move Slack config to installation settings (#11548) 2025-05-23 01:07:35 -07:00
dashboards
dispatchers
drops
fields
finders feat: Add support for search_conversations in copilot (#11520) 2025-05-20 19:22:17 -07:00
helpers
javascript fix: Truncate name in attachment bubble (#11540) 2025-05-27 14:24:43 -06:00
jobs feat: automate account deletion (#11406) 2025-05-23 12:58:13 +05:30
listeners feat: Add support for realtime-events in copilot-threads and copilot-messages (#11557) 2025-05-22 22:25:05 -07:00
mailboxes chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
mailers style: run rubocop with auto fix (#11563) 2025-05-23 01:23:33 -07:00
models feat: move Slack config to installation settings (#11548) 2025-05-23 01:07:35 -07:00
policies
presenters
services feat: automate account deletion (#11406) 2025-05-23 12:58:13 +05:30
views feat: move Slack config to installation settings (#11548) 2025-05-23 01:07:35 -07:00
workers