Skip to content

Conversation

@s3rgiosan
Copy link
Member

@s3rgiosan s3rgiosan commented May 16, 2025

Description of the Change

This PR adds a title attribute to the Truncate component, which solves an issue where posts with very long titles would look identical after truncation.

Now when you hover over a truncated title, you'll see the full text in a tooltip, making it easier to distinguish between similar-looking truncated content.

Related to feedback from: 10up/wp-content-connect#94 (comment)

Screenshot 2025-05-16 at 16 05 24

How to test the Change

Changelog Entry

Added - Title attribute to the PickedItem Truncate component.

Credits

Props @s3rgiosan

Checklist:

Copy link
Member

@fabiankaegy fabiankaegy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find :)

@fabiankaegy fabiankaegy merged commit 5eb72d1 into 10up:develop May 16, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants