Page MenuHomePhabricator

[M] Add assessment information to Quickview
Closed, ResolvedPublic

Description

As a user of MediaSearch, I want to be able to quickly see the assessment of an image in quickview, so that I know whether this is an image I should reuse.

quick_view_assessments.jpg (1×1 px, 417 KB)

Acceptance Criteria:

  • A new metadata line is added to the desktop and mobile web quick view that lists out each assessment that an image might have, as seen in the mockup above. If an image has more than one assessment they are placed on the same line separated by a comma.

Event Timeline

Change 685027 had a related patch set uploaded (by Seddon; author: Seddon):

[mediawiki/extensions/MediaSearch@master] WIP Assessment filter and assessment in QuickView

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

Change 685027 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Assessment filter and assessment in QuickView

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

Checked on commons wmf.11 - the QuickView displays the info that an image is in one of the assessment categories, but it doesn't display the star icon as in the mockup.

Screen Shot 2021-06-24 at 3.25.54 PM.png (1×2 px, 3 MB)

Per the task specs the new (a star) icon is not listed as a requirement. Currently, the same placeholder icon is used for both - the new metadata and the file name

<span class="sd-icon"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" aria-hidden="true"><!----> <g fill="currentColor"><path d="M19 3H1v14h18zM3 14l3.5-4.5 2.5 3L12.5 8l4.5 6z"></path></g></svg></span>

@mwilliams - is it correct to use the placeholder image icon instead of a star icon that used in your mockup?

Good catch @Etonkovidova. I prefer the star icon since we already are using the placeholder image icon, and the star helps differentiate this line of information. I don't think it's a huge deal/blocker/etc but would like to see it swapped.

@Seddon I'm moving this back to Doing to get the star icon in place, thanks!

Change 704188 had a related patch set uploaded (by Seddon; author: Seddon):

[mediawiki/extensions/MediaSearch@master] Update assessment icon in quickview

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

Change 704188 merged by jenkins-bot:

[mediawiki/extensions/MediaSearch@master] Update assessment icon in quickview

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

Checked on commons wmf.15 - all is in place:

Screen Shot 2021-07-21 at 1.21.20 PM.png (850×685 px, 556 KB)
Screen Shot 2021-07-21 at 1.22.17 PM.png (948×678 px, 617 KB)