Page MenuHomePhabricator

Prevent long Recent Activity edit summaries from overflowing
Closed, ResolvedPublic2 Estimated Story Points

Description

When there is an usually long edit summary for an edit on the Recent Activity module, we should not go beyond a specific line limit, and instead use text overflow with ellipses.

See screenshot below:

Screenshot 2026-01-08 at 1.51.01 PM.png (536×751 px, 73 KB)

Acceptance Criteria:

  • The text is cut off after so many lines and suffixed with an ellipses

Event Timeline

The text is cut off after so many lines and suffixed with an ellipses

Perhaps a character-count cutoff would be the right approach? We could figure out a number that gets us 2-3 sentences at a standard desktop resolution.

Samwalton9-WMF changed the task status from Open to Stalled.Jan 20 2026, 4:28 PM

Stalled on T415077, so we can see what that looks like first.

Scardenasmolinar changed the task status from Stalled to In Progress.Jan 29 2026, 5:37 PM
Scardenasmolinar claimed this task.
Scardenasmolinar moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.

Change #1235198 had a related patch set uploaded (by Scardenasmolinar; author: Scardenasmolinar):

[mediawiki/extensions/PersonalDashboard@master] Prevent long Recent Activity edit summaries from overflowing

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

Change #1235198 merged by jenkins-bot:

[mediawiki/extensions/PersonalDashboard@master] Prevent long Recent Activity edit summaries from overflowing

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

jsn.sherman subscribed.

verified fixed on test wiki