Page MenuHomePhabricator

UserInfo: Sparkline runs to the edge where the date gets cut off on hover
Closed, ResolvedPublic0.5 Estimated Story Points

Description

Summary

We enabled date on hover on the sparkline. On hovering near the ends of the sparkline the date gets cut off as it presumably runs out of space.

image.png (300×1 px, 89 KB)

image.png (322×1 px, 79 KB)

Technical notes

  • We can adjust the z-index for the tooltip such that it displays over other elements on the page.
  • Or, we can dynamically adjust the position to ensure that the tooltip doesn't overflow the container

Acceptance criteria

  • Display of the date tooltip is not cut off

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
OKryva-WMF triaged this task as Medium priority.Jul 23 2025, 9:32 AM
OKryva-WMF set the point value for this task to 0.5.

Change #1173017 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] UserInfoCard: Adjust tooltip display to not overflow container

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

Change #1173017 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UserInfoCard: Adjust tooltip display to not overflow container

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