Page MenuHomePhabricator

[Spike]: Experiment with concept chips and faceting in media-search proof of concept
Closed, ResolvedPublic

Description

In the concept mock for improved media search on Commons, there are "concept chips" across the top of the screen (see the red arrow):

image1.png (1×1 px, 2 MB)

These are essentially facets from the main search keyword (in this case, "Hudson River School").

This ticket is to experiment technically with creating the "concept chips" and/or standard faceting in the media search proof of concept UI with structured data.

Event Timeline

If for research we are just hardcoding a few examples, Daisy and I were thinking of just a few random queries: Redwood Tree, New York City, and Van Gogh? As far as what chips are shown, is that something I should come up with as well? I'd probably lean off of what Google Images has for those.

Screen Shot 2020-04-20 at 2.06.31 PM.png (990×1 px, 1 MB)

Let me know if you need any assets to make that easier!

Change 593741 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Pretend to have concept chips for a few terms

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

Patch with a few hardcoded examples is ready.

Screenshot 2020-05-01 13.46.20.png (592×1 px, 119 KB)

This hardcodes a few concept chips, for:

  • redwood & redwood tree
  • new york & new york city
  • van gogh & vincent van gogh

The suggested chips were based on Google Image's suggestions.
Thumbnails are the first results for 'term + chip' searches on Commons. Some of those don't make too much sense (or rather, are not the perfect result - i.e. van gogh + sunflower) and some are duplicated (i.e. van gogh + vincent = van gogh + paintings)
But that'll be reality...
There's no point in cherry-picking perfect examples to create an unrealistic test environment.

In order to make it look like an actual thing, clicking the concept chips will lead you to "term + chip" search results.
(We don't know whether they'll actually behave like this in the end, but at least they seem to be doing something useful enough during research.)

This looks great and should help us learn a bit more how we should move forward during research, thanks Matthias!

Change 593741 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Pretend to have concept chips for a few terms

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

Change 594700 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Add dummy concept chips without thumbnail

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

I suspect that fetching thumbnails for concept chips might require significant additional resources: we'll likely need to execute an actual search for each chip to find a relevant thumbnail.
I'm not sure these tiny thumbnails provide enough added benefit to warrant that additional load. It appears that even Google isn't even sure about this (I don't get thumbs in Google images, but have seen variations with thumbs for other people)
I'll add a few dummies with and a few without, so that we can research this and make a more informed decision.

With thumbnail:

  • redwood & redwood tree
  • new york & new york city
  • van gogh & vincent van gogh

Without thumbnail:

  • baobab & baobab tree
  • los angeles
  • picasso & pablo picasso

Change 594713 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@wmf/1.35.0-wmf.31] Add dummy concept chips without thumbnail

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

Change 594700 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Add dummy concept chips without thumbnail

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

Change 594713 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@wmf/1.35.0-wmf.31] Add dummy concept chips without thumbnail

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

Moving this ticket to "blocked" because we're not yet sure where to take this and are waiting for user feedback from research session, AIUI?

@Ramsey-WMF can we close this spike since we have a new ticket for the new work?

Ramsey-WMF claimed this task.

Yup. Experiment phase complete ✔