Page MenuHomePhabricator

Add expand/collapse icons to truncation button
Closed, ResolvedPublic2 Estimated Story Points

Description

Follow-up ticket to: T273426: Add truncation to descriptions

In order to make more consistent, we will add the expand and collapse icons to the quiet buttons "More" and "Less," while leaving the wording and spacing the same.

Mock

Expand and Collapse - with icon.png (725×1 px, 70 KB)

Event Timeline

In the mobile view the more/less button jumps below the input field. I guess we should fix that. :)

Screenshot from 2021-06-01 10-33-04.png (668×404 px, 43 KB)
Screenshot from 2021-06-01 10-33-14.png (703×402 px, 48 KB)

In the mobile view the more/less button jumps below the input field. I guess we should fix that. :)

Yup! I saw this and already created a ticket for us to discuss in the next story time: T283943: More/less button on mobile displays in wrong location

Thanks for also checking mobile though!

Change 701647 had a related patch set uploaded (by Andrew-WMDE; author: Andrew-WMDE):

[mediawiki/extensions/VisualEditor@master] Add icons to the show/hide button in the ExpandableContentElement

https://gerrit.wikimedia.org/r/701647

Change 701647 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Add icons to the show/hide button in the ExpandableContentElement

https://gerrit.wikimedia.org/r/701647

Change 703403 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/VisualEditor@master] Allow text selection on the "More"/"Less" button fade effect

https://gerrit.wikimedia.org/r/703403