Page MenuHomePhabricator

Simplify MediaViewer caption
Open, MediumPublic

Description

Background

The media viewer shows a caption that reacts to scroll events. This is not very mobile friendly (/T73423) and adds a hard to discover scroll. I suggest this is either removed or replaced by a better UX pattern.

mmv.gif (1,710×859 px, 2 MB)

Compare to mobile:

Screenshot 2024-10-10 at 5.30.00 PM.png (1,256×888 px, 610 KB)

User story

As a reader I want a consistent media viewer experience across mobile and desktop.

Requirements

The title of the image AND the information hidden behind scroll is either:

  • Removed - the user can click "More details" if they need this information.
  • Is displayed when "More information" is clicked (with the additional link to Wikimedia Commons) and loaded on demand via an additional module and API call ( mw.loader.using)
  • The caption styling on desktop is modified to match the mobile site.

BDD

  • For QA engineer to fill out

Test Steps

  • For QA engineer to fill out

Design

  • Add mockups and design requirements

Acceptance criteria

  • Add acceptance criteria

Communication criteria - does this need an announcement or discussion?

  • Add communication criteria

Rollback plan

  • What is the rollback plan in production for this task if something goes wrong?

This task was created by Version 1.2.0 of the Web team task template using phabulous

Event Timeline

@mwilliams following our chat about the caption - would you be adverse to removing it?

Change #1318788 had a related patch set uploaded (by Krinkle; author: Krinkle):

[mediawiki/extensions/MultimediaViewer@master] mmv.ui: Remove animated "metadata" invitation

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

@JScherer-WMF: Do you have an opinion on removing the "invitation" animation from the metadata scroller?

I suspect most people aren't aware of this feature, but when you opens MediaViewer for the first time on any device (e.g. use Incognito mode to emulate this), the metadata panel jumps up and down once, to tell you that it exists.

In my experience this looks like a loading glitch rather than a feature, and is probably not effective in informing readers about the existence of the metadata panel. It only runs once on a given device. Without any interaction or acknowledgement from the user, we save the "seen" state, and never perform the invite nudge animation again on the same device.

I don't have data on this, but it seems to me if someone is genuinely using MediaViewer for the first time, they are not paying attention to this brief animation while it loads, to remember several weeks/months later, when they might be looking for additional metadata, that this exists.

Fortunately, we have a "More details" button which navigates to the file description page on Commons where the same metadata (and more) is available, so lack of discovering this panel is not a critical path to accessing information. I do think the panel is useful and (once you know about it) is a common and efficient way to access this information. Maybe a future design will explore a new discovery mechanism.

As part of (mostly invisible) clean up work in MediaViewer code, I noticed a fair bit of complexity hiding behind this "invitation" animation and would like to remove it. See also T365193: Implement below the fold redesign.

Change #1318788 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] mmv.ui: Remove animated "metadata" invitation

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