UVE: Clamp contentlet titles to two lines in the palette#35878
Conversation
|
Can we add the same tooltip to the URL in uve iframe? Not related to ticket, but are the same tailwind classes, so 2x1 😅 |
|
Claude finished @fmontes's task in 1m 5s —— View job Code Review
Two things worth flagging: 1. Tooltip fires unconditionally — noise for short titles In 2. For items near the top of the palette list, Otherwise clean. The removal of the host |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
longer-text.mp4
Proposed Changes
Checklist
Additional Info
This PR now uses a two-line truncated title instead of fully wrapping contentlet names. That keeps similarly prefixed items easier to distinguish while preserving the existing row layout.
The full title is now exposed through the PrimeNG tooltip directive on the clamped text itself rather than through the browser-default tooltip on the whole contentlet box.
Validated with:
npx nx lint portlets-edit-ema-portletnpx nx test portlets-edit-ema-portletScreenshots
This PR fixes: #35876