iachat/app/javascript/dashboard/components-next
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
..
Accordion feat: Allow customizing the responses, flows in Captain (#11385) 2025-04-29 15:42:15 -07:00
avatar revert: Next bubble improvements (#10795) 2025-01-29 20:04:45 -08:00
banner chore: Update buttons in dashboard (#11145) 2025-03-31 17:21:32 -07:00
breadcrumb feat(v4): Add new contact details screen (#10504) 2024-12-03 21:29:47 -08:00
button feat: Delete a contact from the contacts page (#11529) 2025-05-20 21:35:14 -07:00
Campaigns feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30
captain feat: Add support for the temperature field (#11554) 2025-05-22 23:03:10 -07:00
checkbox feat: Add support for bulk action for Captain FAQs (#10905) 2025-02-27 17:05:33 -08:00
colorpicker feat: Update button component (#10362) 2024-10-29 14:00:24 +05:30
combobox chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
Contacts feat: Delete a contact from the contacts page (#11529) 2025-05-20 21:35:14 -07:00
Conversation/ConversationCard fix: sentry issues (#10695) 2025-01-16 15:49:48 +05:30
copilot chore: Update Copilot UI in favor of the new design (#11544) 2025-05-21 18:14:51 -07:00
CustomAttributes feat(v4): Add new contact details screen (#10504) 2024-12-03 21:29:47 -08:00
dialog feat: Add Teleport component to fix RTL/LTR utility classes (#11455) 2025-05-12 11:49:23 -07:00
dropdown-menu fix: Accidental contact creation on country dropdown toggle (#11494) 2025-05-16 16:14:00 +05:30
Editor chore: Improve new conversation form (#10687) 2025-01-15 13:10:09 +05:30
feature-spotlight feat: Add support for feature spotlight components (#11012) 2025-03-18 13:17:42 -07:00
filter fix: CSAT select label dropdown overflow issue (#11499) 2025-05-16 16:11:42 -07:00
flag feat: Flag icon component (#10564) 2024-12-10 11:53:24 +05:30
HelpCenter fix: Change button type for category icon in edit modal to prevent automatic form submission (#11498) 2025-05-16 10:14:56 -07:00
icon feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30
Inbox fix: v4 ui issues (#10652) 2025-01-08 18:17:50 +05:30
inline-input chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
input feat: Add support for minutes in auto resolve feature (#11269) 2025-05-07 00:36:15 -07:00
Label chore(v4): Update colors (#10700) 2025-01-16 15:27:23 +05:30
message fix: Truncate name in attachment bubble (#11540) 2025-05-27 14:24:43 -06:00
NewConversation chore: Add cache to improve widget performance (#11163) 2025-03-24 16:04:49 -07:00
pagination feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30
phonenumberinput fix: Accidental contact creation on country dropdown toggle (#11494) 2025-05-16 16:14:00 +05:30
selectmenu feat: Update conversation basic filter (#11415) 2025-05-06 12:44:23 +05:30
sidebar feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
spinner feat: Add Spinner to new components (#10303) 2024-10-16 17:53:46 -07:00
switch feat: Add support for minutes in auto resolve feature (#11269) 2025-05-07 00:36:15 -07:00
tabbar feat: Update button component (#10362) 2024-10-29 14:00:24 +05:30
taginput feat(v4): Compose a new conversation from a phone number. (#10568) 2024-12-17 18:07:58 +05:30
textarea chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
CardLayout.vue feat: Add support for bulk action for Captain FAQs (#10905) 2025-02-27 17:05:33 -08:00
EmptyStateLayout.vue feat: Support bigger font size in dashboard (#10974) 2025-02-27 12:10:33 +05:30
TeleportWithDirection.vue feat: Add Teleport component to fix RTL/LTR utility classes (#11455) 2025-05-12 11:49:23 -07:00