Page MenuHomePhabricator

Share Highlight: Ensure dialog header is visible on small devices
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The dialog header is clipped:

Simulator Screenshot - iPhone 16 - 2026-05-13 at 11.51.54.png (2×1 px, 1 MB)

What should have happened instead?:
The generated graphic (or the text inside of it) should be scaled down so that it fits adequately within the viewport, without changing the downloadable pixel-size of the graphic.

Event Timeline

egardner triaged this task as High priority.

Change #1287014 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/extensions/ReaderExperiments@master] Scale share-highlight card to fit small viewports

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

Change #1287014 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] Scale share-highlight card to fit small viewports

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

Change #1287363 had a related patch set uploaded (by Marco Fossati; author: Eric Gardner):

[mediawiki/extensions/ReaderExperiments@wmf/1.47.0-wmf.2] Scale share-highlight card to fit small viewports

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

Change #1287363 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@wmf/1.47.0-wmf.2] Scale share-highlight card to fit small viewports

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

Mentioned in SAL (#wikimedia-operations) [2026-05-14T13:53:46Z] <mfossati@deploy1003> Started scap sync-world: Backport for [[gerrit:1287363|Scale share-highlight card to fit small viewports (T426247)]]

Mentioned in SAL (#wikimedia-operations) [2026-05-14T13:55:35Z] <mfossati@deploy1003> mfossati: Backport for [[gerrit:1287363|Scale share-highlight card to fit small viewports (T426247)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-05-14T14:00:56Z] <mfossati@deploy1003> Finished scap sync-world: Backport for [[gerrit:1287363|Scale share-highlight card to fit small viewports (T426247)]] (duration: 07m 09s)

Change #1287865 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/ReaderExperiments@master] Fix dialog breaking out of viewport

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

Change #1287865 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] Fix dialog breaking out of viewport

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

Re-checked beta cluster and itwiki wmf.3 (the screenshots below are from itwiki wmf.3from real devices)

before the fixafter the fix - iPhone 414x896after the fix - Samsung Galaxy S8 360x740
Simulator Screenshot - iPhone 16 - 2026-05-13 at 11.51.54.png (2×1 px, 1 MB)
The share quote dialog is displayed fully
IMG_8394.PNG (640×296 px, 446 KB)
The share quote dialog is displayed fully
Screenshot_20260522-071344_Samsung Internet.jpg (2×1 px, 616 KB)

Note:
Small screen size refers to the screens up to 360px. Before the fix the issue was observed on the standard size screens - 414px. That's why iPhone screenshot (414px) is included.