Page MenuHomePhabricator

Surface recently edited topics in the initial state for search
Open, MediumPublic

Assigned To
None
Authored By
Pginer-WMF
May 10 2021, 10:20 AM
Referenced Files
F34495310: image.png
Jun 11 2021, 1:03 PM
F34479407: image.png
Jun 3 2021, 1:10 PM
F34479315: image.png
Jun 3 2021, 12:01 PM
F34133649: New translation - Search Dimensions.png
May 10 2021, 10:20 AM
F34133647: New translation - Search.png
May 10 2021, 10:20 AM

Description

When starting a new translation in Section translation, users are shown the search step with the results completely empty:

test.m.wikipedia.org_wiki_Special_ContentTranslation(iPhone 5_SE).png (568×320 px, 16 KB)

This is an opportunity to surface some articles. For example, users may arrive to translate articles they recently created/edited in the source wiki, and providing those at hand could make the process more fluent.

This ticket proposes to surface articles edited by the user under the label "Recently edited by you". Up to three articles can be shown.

The layout is the same used for search results with the addition of the label (other aspects of the spec below will be covered by other tickets):

New translation - Search.png (768×1 px, 229 KB)
New translation - Search Dimensions.png (768×1 px, 112 KB)

Event Timeline

@Jpita are you able to reproduce this issue? Recently edited suggestions are being displayed properly for me on sxmwflabs

image.png (834×393 px, 40 KB)

@Jpita are you able to reproduce this issue? Recently edited suggestions are being displayed properly for me on sxmwflabs

tried in incognito and got this, might have to do with the loaded languages and history of the user loggedin

image.png (568×1 px, 29 KB)

@Pginer-WMF I just checked again and "Recently edited" suggestions work properly on sx.wmflabs. Couldn't reproduce above issue but that seems to be unrelated anyway, so I suggest this ticket to be moved to "Needs QA" colum.

@Pginer-WMF I just checked again and "Recently edited" suggestions work properly on sx.wmflabs. Couldn't reproduce above issue but that seems to be unrelated anyway, so I suggest this ticket to be moved to "Needs QA" colum.

what is considered as a "Recently edited" article?
with user "https://sx.wmflabs.org/index.php/User:Newsxlabsuser" I don't have any suggested articles

For users that have already contributed with translations, we want to display some suggestions based on these previous edits. So if a user doesn't have any previous edits, then no such suggestion will be provided. At least this is my understanding. Is this the case for Newsxlabsuser?

For users that have already contributed with translations, we want to display some suggestions based on these previous edits. So if a user doesn't have any previous edits, then no such suggestion will be provided. At least this is my understanding. Is this the case for Newsxlabsuser?

can't test this because of this error while publishing on sx-labs

image.png (1×812 px, 118 KB)