We want to suggest images for adding to an article in VE
Currently in VE when a user clicks on "Insert" then "Images and media" they have 2 tabs - "search" and "upload". The "search" tab shows a search bar plus the user's most recently uploaded images
Here are some options for how we might suggest images:
Option 1
Simply show suggested images in the "search tab", before or after the user's recent uploads
If we show them before, users might object to their own recent uploads being less visible
If we show them after users might miss them
Option 2
We could add another tab "suggested images". Ideally
- the tab would only show if the article already has <X images (configurable by wiki)
- as soon as the "insert media" modal is shown we'll (in the background) do a MediaSearch on the article title/wikidata id and fetch suggested images
- show the suggested images once the user clicks on the tab
I spoke to @matmarex who thinks this probably do-able, this ticket is to investigate the technical details and get an idea of the practical steps involved.
Acceptance criteria
- investigate all options, and choose one (or come up with another option)
- a series of other tickets describing the steps we'll need to take to implement whichever option has been chosen
We'll probably need to tweak the MediaSearch part that fetches the suggested images e.g.
- it might end up being behind an API
- we might want to sort by recency rather than relevance
- we might need to add a range query to only give us images uploaded within X time period
but let's assume that's out of scope for the minute, and just focus on the VE part