Page MenuHomePhabricator

Inform that an article is part of a nominated collection on Confirmation view
Open, HighPublic8 Estimated Story Points

Description

Goal

Show collection context on the Confirmation screen to inform users that the article they're about to translate is part of a community-nominated priority collection.

Design

When a user reaches the confirmation screen for an article that belongs to a community priority collection, display a visual indicator grouping the badge and collection name together.

Visibility

  • Shows on confirmation screen when the article is part of a community priority collection
  • Displays for all users regardless of translation history
  • Positioned below article statistics (language count, views, time estimate)

Visual Design

IMG_8F45FE98E25B-1.jpeg (2×1 px, 770 KB)
Capture-2025-11-21-225038.png (1×1 px, 163 KB)

Container:

  • Background: @background-color-progressive-subtle (light blue tint)
  • Border-radius: @border-radius-base (rounded corners)
  • Padding: @spacing-75
  • Width: Full width of article information section

Badge:
Badge:

  • Text: "Community Priority"
  • Icon: cdxIconUserGroup (user group icon, left of text)
  • Text color: @color-progressive (blue)
  • Icon color: @color-progressive (blue)
  • Font-size: @font-size-small
  • Font-weight: @font-weight-semi-bold
  • Padding: 0 (no padding since container provides spacing)
  • No background color (container has the blue tint)
  • No border-radius applied to badge itself

Collection Name:

  • Positioned below badge with @spacing-25 gap
  • Text color: @color-subtle (gray)
  • Font-size: @font-size-small
  • Font-weight: @font-weight-normal
  • Single line with ellipsis truncation for overflow

Placement

  • Located below article statistics row
  • Above language selector dropdowns
  • Part of article information section

Interaction

  • Non-interactive (no hover states, no click actions)
  • Purely informational indicator
  • Users can proceed for translation as they do it normally.

Event Timeline

ngkountas renamed this task from Inform that an artricle is part of a nominated collection on Confirmation view to Inform that an article is part of a nominated collection on Confirmation view.Nov 5 2025, 12:59 PM
Nikerabbit moved this task from Needs Triage to Dashboard on the ContentTranslation board.
This comment has been deleted.
SBisson raised the priority of this task from Medium to High.Fri, Nov 21, 6:15 PM
SBisson moved this task from Incoming to Prioritized on the LPL Hypothesis board.
eamedina set the point value for this task to 8.Mon, Nov 24, 2:24 PM

Change #1211726 had a related patch set uploaded (by Sbisson; author: Sbisson):

[research/recommendation-api@master] New endpoint check if articles are part of a collection

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

Change #1211728 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@master] TranslationConfirmer: featured collection banner

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

Change #1211726 merged by jenkins-bot:

[research/recommendation-api@master] New endpoint to check if articles are part of a collection

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

Change #1211728 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] TranslationConfirmer: featured collection banner

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

Change #1213553 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20251201

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

Change #1213553 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20251201

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

Change #1214036 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@wmf/1.46.0-wmf.5] CX3 Build 1.0.0+20251201

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

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

[operations/deployment-charts@master] Update rec-api to 2025-12-02-200719-production

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

Change #1214195 merged by jenkins-bot:

[operations/deployment-charts@master] Update rec-api to 2025-12-02-200719-production

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

Mentioned in SAL (#wikimedia-operations) [2025-12-03T13:32:14Z] <kart_> Updated Recommendation API to 2025-12-02-200719-production (T408845, T408844, T384485)

Change #1214036 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@wmf/1.46.0-wmf.5] CX3 Build 1.0.0+20251201

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

Mentioned in SAL (#wikimedia-operations) [2025-12-03T14:15:05Z] <sbisson@deploy2002> Started scap sync-world: Backport for [[gerrit:1214036|CX3 Build 1.0.0+20251201 (T408842 T408844)]]

Mentioned in SAL (#wikimedia-operations) [2025-12-03T14:17:16Z] <sbisson@deploy2002> sbisson: Backport for [[gerrit:1214036|CX3 Build 1.0.0+20251201 (T408842 T408844)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-12-03T14:27:06Z] <sbisson@deploy2002> Finished scap sync-world: Backport for [[gerrit:1214036|CX3 Build 1.0.0+20251201 (T408842 T408844)]] (duration: 12m 01s)