Page MenuHomePhabricator

Allow to keep for later any article selected in the new translation dialog
Open, NormalPublic

Description

Content Translation dashboard provides suggestions that users can keep for later. However, currently there is no way for users to add an article of their choice to translate later. This will enable users to organize their translation efforts into the default "for later" list.

In order to support this, the following is proposed:

  • Add a bookmarking icon next to the language selector for the article. The icon should be the same used elsewhere for keeping for later, which currently it is a star, but there are plans to make it a bookmark (T178790).
  • If the selected article is already in the "For later" list, the bookmarking icon will be shown using the filled version.

The idea is illustrated below:

Providing feedback

We want to indicate to the user where the article went (i.e., the "for later" list in the Suggestions view). After saving the article for later, a tooltip showing the message "Kept for later! Access all your translation ideas from the Suggestions view".


There is a related ticket to improve the communication of this feedback in a different context: T125379: Feedback when a suggestion (or list of suggestions) is kept for later

Event Timeline

Pginer-WMF triaged this task as Normal priority.Mar 1 2018, 4:41 PM
Pginer-WMF created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 1 2018, 4:41 PM

What should happen visually when "Keep for later" button is clicked?
Page reload (probably no)? Some animation? I guess we want user to stay at the same page (no reload to happen), but communicating that selected page for translation goes to "For later" list could be tricky to design.

What should happen visually when "Keep for later" button is clicked?
Page reload (probably no)? Some animation? I guess we want user to stay at the same page (no reload to happen), but communicating that selected page for translation goes to "For later" list could be tricky to design.

Yes, we may want to communicate where the page went. I'll add a note to the description for that aspect to be detailed as we focus on that area of work.

Pginer-WMF updated the task description. (Show Details)
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF updated the task description. (Show Details)Fri, Jul 26, 10:53 AM

@Pginer-WMF Since same dialog layout is used when user clicks on some suggested article, do we show the bookmark icon in that case as well?

Also, what should happen when article is marked as favorite while Suggestions list is opened? Should the transition happen like when it's added from regular suggestion items?

Description says tooltip should be shown, but what does that mean? Is it like tooltip we get with mw.notify or tooltip like in T125379, which is yet to be developed?

Change 527102 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/extensions/ContentTranslation@master] Allow to keep for later any article selected in the new translation dialog

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

Good questions @Petar.petkovic

I think it makes sense to also include the bookmark icon on the dialog shown for some suggested article the user clicked. That makes the experience of starting a new translation more consistent.

I have been thinking a bit more about the feedback in the different situations, and I'd propose using mw.notify, adjusting the message depending on the following cases:

Marking for later from a dialog in the In-progress or Published view:

  • Show message: "Added for later! Check the suggestions view anytime."

Marking for later from a dialog in the Suggestions view

  • Show message: "Added for later!"

Marking for later from the list in the Suggestions view
(this last case would resolve T125379, so it is up to you to address it as part of this implementation effort or... ...keep it for later)

  • Only when the viewport top is hiding anything above the first suggested item, show message: "Added for later!"
  • When the viewport allows seeing how the "For later" list is created or expanded, show nothing.

Does this make sense? Is there any other detail needed?

Thanks @Pginer-WMF for detailed and well structured answer. I have one more question, just to make sure I understand.

Cases 1. and 2. cover user adding selected article to favorites from New translation dialog when In-progress or Published list and Suggestions list are open, respectively.
Case 3. covers clicking on bookmark icon (what used to be a star) inside some suggested item on Suggestions list.

When user clicks on suggested article inside Suggestions list, dialog same as New translation opens. Per your comment, we should show the bookmark icon inside that dialog as well. Should clicking on that icon be covered by case number 2?

When user clicks on suggested article inside Suggestions list, dialog same as New translation opens. Per your comment, we should show the bookmark icon inside that dialog as well. Should clicking on that icon be covered by case number 2?

Yes. That's covered by case 2. We show feedback, but don't include a reference to the "Suggestions view" since the user is already there.