Page MenuHomePhabricator

Inform that an article is part of a nominated collection on Confirmation view
Closed, ResolvedPublic8 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.

Derived Requirement

Ensure that on the confirmation screen, when an article is part of a community-nominated priority collection:

  • A visual indicator is displayed within the article information section.
  • The indicator appears below the article statistics row and above the language selector dropdowns.
  • The indicator contains:
    • A “Community Priority” badge.
    • The collection name displayed beneath the badge.
  • The collection name is truncated with an ellipsis if it exceeds the available width.
  • The indicator is visible to all users regardless of translation history.
  • The indicator is non-interactive and does not affect the normal translation workflow.
  • The indicator does not appear if the article is not part of a community priority collection.
Test Steps

Preconditions:

  • User is logged in.
  • An article that belongs to a community priority collection is available.
  • An article that does not belong to any community priority collection is available.

Test Case 1: Ensure collection indicator is displayed for eligible articles

  1. Start translating an article that is part of a community priority collection.
  2. Proceed to the confirmation screen.
  3. Observe the article information section.
  4. ✅❓❌⬜ AC1: A “Community Priority” indicator with the collection name is displayed below the article statistics row and above the language selectors.

Test Case 2: Ensure indicator displays correct structure and truncation

  1. Use an article that belongs to a community priority collection with a long collection name.
  2. Proceed to the confirmation screen.
  3. Observe the collection name text.
  4. ✅❓❌⬜ AC2: The collection name is displayed on a single line and is truncated with an ellipsis if it exceeds available width.

Test Case 3: Ensure indicator is non-interactive

  1. On the confirmation screen for an eligible article, hover over the indicator area.
  2. Attempt to click the badge and the collection name.
  3. ✅❓❌⬜ AC3: The indicator has no hover effect, no click action, and does not alter the translation flow.

Test Case 4: Ensure indicator does not display for non-collection articles

  1. Start translating an article that is not part of a community priority collection.
  2. Proceed to the confirmation screen.
  3. Observe the article information section.
  4. ✅❓❌⬜ AC4: No community priority indicator is displayed.

QA Results - TestWiki

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.Nov 21 2025, 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.Nov 24 2025, 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)

@SBisson Can you please review AC1, AC2 and Other Issue below? Thanks!

UPDATE- I created T417903 for AC1's issue. I will move forward with AC2 and see what @SGautam_WMF says about it. I will move this to Sign-off, thanks!

**Test Result - Test Wiki*

Status: ✅ PASS / ❓ Need More Info / ❌ FAIL
Environment: Test Wiki
OS: macOS Tahoe 26.3
Browser: Chrome 143
Device: MBA
Emulated Device: NA

Test Artifact(s): Confirmation screen UI

Test Steps

Preconditions:

  • User is logged in.
  • An article that belongs to a community priority collection is available.
  • An article that does not belong to any community priority collection is available.

Test Case 1: Ensure collection indicator is displayed for eligible articles

  1. Start translating an article that is part of a community priority collection.
  2. Proceed to the confirmation screen.
  3. Observe the article information section.
  4. ✅❓❌⬜ AC1: A “Community Priority” indicator with the collection name is displayed below the article statistics row and above the language selectors.
  • ❌ Desktop new section, is missing the time to translate like mobile
  • ❓Mobile new page, translates to lead section, compared to translate time for all like on Desktop

UPDATE- I created T417903 for AC1's issue. I will move forward with AC2 and see what the designer decides

❌ Desktop- New Sections✅ Mobile- New Sections✅ Desktop- New Pages✅ Mobile- New Pages
2026-02-18_12-34-50.png (1×1 px, 394 KB)
2026-02-18_12-34-34.png (1×889 px, 108 KB)
2026-02-18_12-42-25.png (1×1 px, 208 KB)
2026-02-18_12-42-55.png (1×946 px, 93 KB)

Test Case 2: Ensure indicator displays correct structure and truncation

  1. Use an article that belongs to a community priority collection with a long collection name.
  2. Proceed to the confirmation screen.
  3. Observe the collection name text.
  4. AC2: The collection name is displayed on a single line and is truncated with an ellipsis if it exceeds available width.

@SGautam_WMF Is it supposed to still be ellipsis as the task descriptions says or is the below fine since it wraps?

DesktopMobile
2026-02-18_12-15-16.png (1×630 px, 174 KB)
2026-02-18_12-14-30.png (1×823 px, 179 KB)

Test Case 3: Ensure indicator is non-interactive

  1. On the confirmation screen for an eligible article, hover over the indicator area.
  2. Attempt to click the badge and the collection name.
  3. AC3: The indicator has no hover effect, no click action, and does not alter the translation flow.
DesktopMobile

Test Case 4: Ensure indicator does not display for non-collection articles

  1. Start translating an article that is not part of a community priority collection.
  2. Proceed to the confirmation screen.
  3. Observe the article information section.
  4. AC4: No community priority indicator is displayed.
Desktop- New SectionsMobile- New SectionsDesktop- New PagesMobile- New Pages
2026-02-18_13-46-55.png (1×1 px, 383 KB)
2026-02-18_13-46-01.png (1×1 px, 87 KB)
2026-02-18_13-47-03.png (1×1 px, 348 KB)
2026-02-18_13-46-13.png (1×972 px, 80 KB)

❓Other Issue

There are times when you click Refresh, the nomination banner disappears

GMikesell-WMF changed the task status from Open to In Progress.Feb 18 2026, 10:00 PM
GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF moved this task from Needs QA to In-progress on the LPL Hypothesis board.

wrapping description works better so we can keep it. Moving it to product signoff.