iachat/app/javascript/dashboard
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
..
api feat: Allow customizing the responses, flows in Captain (#11385) 2025-04-29 15:42:15 -07:00
assets chore: Update date range picker with new theme colors (#11267) 2025-04-09 16:03:53 +05:30
components feat: Scroll lock on message context menu (#11454) 2025-05-23 16:12:18 +05:30
components-next fix: Truncate name in attachment bubble (#11540) 2025-05-27 14:24:43 -06:00
composables feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
constants feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
helper chore: Prevent online presence during impersonation (#11538) 2025-05-23 09:53:40 +05:30
i18n feat: Add support for the temperature field (#11554) 2025-05-22 23:03:10 -07:00
mixins chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
modules feat: Scroll lock on message context menu (#11454) 2025-05-23 16:12:18 +05:30
routes chore: Add short_description translations for integration apps (#11562) 2025-05-23 01:25:13 -07:00
store feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
App.vue feat: Upgrade page instead of banner (#11202) 2025-03-28 02:28:17 -07:00
featureFlags.js feat: Instagram Inbox using Instagram Business Login (#11054) 2025-04-08 10:47:41 +05:30