Page MenuHomePhabricator

[Truncation] Align "read more" button and gradient with updated design spec
Closed, ResolvedPublic1 Estimated Story Points

Description

The "Read more" button expands the truncated lead section. The designs have changed overtime, so this task addresses that.

Acceptance criteria

  • Button size is large
  • Button weight is quiet (borderless button)
  • Add gradient fade stop

Event Timeline

HSwan-WMF moved this task from Incoming/Inbox to Needs Refinement on the Reader Growth Team board.
NOTE: This is large button in Codex. Need to increase size only.
HSwan-WMF set the point value for this task to 1.Aug 4 2026, 4:44 PM

Change #1331718 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/skins/MinervaNeue@master] Truncation: fix read more button and add gradient stop

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

lwatson changed the task status from Open to In Progress.Fri, Aug 28, 5:33 PM

The ticket was outdated. The open patch should align the "Read more" button to look like the updated Figma spec.

  • Button is large size and quiet weight (borderless button).
  • Add a fade gradient solid stop that's measured from the button's height. The solid background color covers the bottom 44px, which matches the button's height. The fade runs over the top 40px.
  • Font color remains progressive blue.
  • Interactive styles come from Codex.
BeforeAfter
truncation_read_more_before.png (944×300 px, 65 KB)
truncation_read_more_after.png (942×290 px, 62 KB)
lwatson renamed this task from [Truncation] Increase expand button's font size to [Truncation] Align "read more" button and gradient with updated design spec.Fri, Aug 28, 5:47 PM
lwatson updated the task description. (Show Details)

Change #1331718 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Truncation: fix read more button and add gradient stop

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

@Etonkovidova I created patch 1332766 to enable truncation with URL query param: ?minerva-truncate=1 for QA testing. I don't intend to merge the patch but please add Gerrit patch 1332766 when creating a new patchdemo instance if you need to enable truncation in the meantime.

Example: https://rg-truncation-b9cd5b357748.catalyst.wmcloud.org/wiki/Apollo?useformat=mobile&minerva-truncate=1

@Etonkovidova I created patch 1332766 to enable truncation with URL query param: ?minerva-truncate=1 for QA testing. I don't intend to merge the patch but please add Gerrit patch 1332766 when creating a new patchdemo instance if you need to enable truncation in the meantime.

Example: https://rg-truncation-b9cd5b357748.catalyst.wmcloud.org/wiki/Apollo?useformat=mobile&minerva-truncate=1

Thank you so much, @lwatson - &minerva-truncate=1works.

Read more looks and works as expected: