iachat/app/javascript/dashboard/components-next/message
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
..
bubbles fix: Truncate name in attachment bubble (#11540) 2025-05-27 14:24:43 -06:00
chips chore: Update PDF file text color from ruby to slate (#11313) 2025-04-16 13:05:36 +05:30
fixtures feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
stories feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
constants.js feat: Improve Captain interactions, activity messages (#11493) 2025-05-16 19:27:57 -07:00
Message.vue feat: Scroll lock on message context menu (#11454) 2025-05-23 16:12:18 +05:30
MessageError.vue feat: handle Channel errors (#11015) 2025-03-06 20:09:47 +05:30
MessageList.vue fix: re-rendering of components when shifting from the unread list to the read list (#10835) 2025-02-07 08:54:25 +05:30
MessageMeta.vue chore: Audit message characters across all channels (#11343) 2025-04-21 14:46:51 +05:30
MessageStatus.vue feat: Add new message bubbles (#10481) 2024-12-12 17:42:22 -08:00
provider.js chore: Update message bubble orientation (#11348) 2025-05-06 13:21:52 +05:30
TranslationToggle.vue chore: Improve translation service with HTML and plain text support (#11305) 2025-04-16 17:59:06 +05:30