[go: up one dir, main page]

Page MenuHomePhabricator

Community-defined Translation Collections: Single selection mode UI
Open, MediumPublic

Description

Background

This task explores the UI/UX elements of selecting and discovering translation collections curated by editors on the mobile translation workflow. This work is closely related to T368713, T369268 & T368422.

User story

Discovering Collections
As an editor who is interested in translating articles,
I want to access different sources of collections,
So that I can have a variety of options to choose from based on my interests.

Selecting 1 Collection
As an editor who is selecting 1 option under Collections,
I want to view the available translation suggestions under the said collection,
So that I can have a targeted focus to translate what interests me.

Design details

This work builds upon the existing custom translation suggestions framework, specifically extending the Basic topic selection (T368422) functionality. The goal is to seamlessly integrate Collections into the existing suggestion system, enhancing the user's ability to discover and engage with curated content from campaigns, events, and wikiprojects.

Basic collection selection mode:

List - Basic selection mode.png (1×2 px, 443 KB)
  • The Collections option appears as a filter chip in the "Automatic" section, alongside "For you" and "Popular topics".
  • Selecting Collections replaces the currently active filter, just like selecting any other topic.
  • Users can switch between Collections and other topics with a single tap, maintaining the simplicity of the single-selection mode.

Collection-specific selection mode:

List - Event specific.png (1×2 px, 444 KB)
  • Different sources of translation suggestions (Campaigns, Wiki projects, Events, Vital Lists) are displayed under the Collections section of the "Adjust suggestions" view.
  • Each event (e.g., "Art+Feminism") appears as a selectable option under Collections.
  • Users can select an event just like any other topic.
  • When selected, the event-based suggestions appear on the Suggestions screen.
  • Events can be combined with other topics in the multiple-selection mode.

List-based suggestions

  • Maintain current suggestion card style.
  • Introduce a small, visual element to indicate the list.
Acceptance Criteria
  • Successful states
  • being able to view different chips under the Collections section sourced from Campaigns, Wiki projects, Events, or Vital Lists.
  • being able to select a single chip at a time from any of the options under Collections.
  • being able to view the correct meta-data under each article selected.
  • being able to view an appropriate state when there are no collections available.
NOTE: Tapping the collection ship to view details about the collection has been extracted to T379273: Community-defined Translation Collections: Collection View

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
PWaigi-WMF renamed this task from Community-defined translation lists: Selection & Discovery to Custom translation suggestions: Community-defined translation lists.Aug 21 2024, 2:38 PM
PWaigi-WMF renamed this task from Custom translation suggestions: Community-defined translation lists to Custom translation suggestions: Community-defined lists.Sep 4 2024, 5:39 AM

Change #1077751 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Unified dashboard: Add UI for community lists

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

@ngkountas I have updated the mockups in this task with "Collections" and "All collections" terminology.

Change #1084155 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[research/recommendation-api@master] Add endpoint to fetch all page collections with their metadata

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

Change #1084155 merged by jenkins-bot:

[research/recommendation-api@master] Add endpoint to fetch all page collections with their metadata

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

Change #1084205 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Add api method to fetch page collections

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

Change #1084781 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[research/recommendation-api@master] support page collection recommendations only for specific collection

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

Change #1084781 merged by jenkins-bot:

[research/recommendation-api@master] support page collection recommendations only for specific collection

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

Change #1084205 abandoned by Nik Gkountas:

[mediawiki/extensions/ContentTranslation@master] Add api method to fetch page collections

Reason:

squashed into Ie0e7c54cde4ce0d76b28831393a994ecc1968149

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

PWaigi-WMF renamed this task from Custom translation suggestions: Community-defined lists to Custom translation suggestions: Community-defined Collections.Thu, Oct 31, 2:47 PM
PWaigi-WMF renamed this task from Custom translation suggestions: Community-defined Collections UI (basic selection mode) to Community-defined Translation Collections: Single selection mode UI.Tue, Nov 5, 11:43 AM

Change #1088276 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update recommendation-api to 2024-11-06-190017-production

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

SBisson updated the task description. (Show Details)

Change #1088276 merged by jenkins-bot:

[operations/deployment-charts@master] Update recommendation-api to 2024-11-08-142328-production

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

Change #1077751 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Unified dashboard: Add UI for page collection recommendations

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

Change #1090944 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20241113

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

Change #1090944 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20241113

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

Change #1091007 had a related patch set uploaded (by KartikMistry; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@wmf/1.44.0-wmf.3] CX3 Build 0.2.0+20241113

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

Change #1091007 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@wmf/1.44.0-wmf.3] CX3 Build 0.2.0+20241113

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

Mentioned in SAL (#wikimedia-operations) [2024-11-14T08:56:05Z] <kartik@deploy2002> Started scap sync-world: Backport for [[gerrit:1091007|CX3 Build 0.2.0+20241113 (T368718 T374567)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-14T09:00:09Z] <kartik@deploy2002> kartik: Backport for [[gerrit:1091007|CX3 Build 0.2.0+20241113 (T368718 T374567)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-11-14T09:25:45Z] <kartik@deploy2002> Finished scap sync-world: Backport for [[gerrit:1091007|CX3 Build 0.2.0+20241113 (T368718 T374567)]] (duration: 29m 40s)