Page MenuHomePhabricator

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

Description

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

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):

Event Timeline

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

@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

@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