Page MenuHomePhabricator

NewImpact: Adjust display for single day longest streak
Closed, ResolvedPublic

Description

Newcomers (and many users) will only see a single day as their longest streak, e.g.

image.png (1×1 px, 134 KB)
until they edit in successive days.

Until that happens, the display should be changed from:

Your current longest streak is 1 day which you achieved between Nov 17 — 17.

to

Your current longest streak is 1 day which you achieved on Nov 17.

Acceptance Criteria

  1. Should be able to see revised wording when the longest streak is one day
  2. ....
Completion checklist

Functionality

  • The patches have been code reviewed and merged
  • The task passes its acceptance criteria

Engineering

  • There are existing and passing unit/integration tests
  • Tests for every involved patch should pass
  • Coverage for every involved project should have improved or stayed the same

Design & QA

  • If the task is UX/Design related: it must be reviewed and approved by the UX/Design team
  • Must be reviewed and approved by Quality Assurance.

Documentation

  • Related and updated documentation done where necessary

Event Timeline

@RHo @KStoller-WMF does the proposed wording sound OK to you?

I agree we should have different copy when the streak is only 1 day as the thread of this task, but can we finalise the copy as part of T322890: Positive Reinforcement: Impact module - finalize copy and QQQ descriptions for TranslateWiki.net?

Change 860935 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/GrowthExperiments@master] Add different message for single-day edit streak

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

Change 860935 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Add different message for single-day edit streak

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

Checked on enwiki betalabs - for e.g. for a user ET03m01

(growthexperiments-homepage-impact-scores-best-streak-info-data-text-single-day: ET03m01, May 10, 2022)

Screen Shot 2023-01-24 at 5.20.17 PM.png (876×818 px, 179 KB)

The date is displayed as $3 - the issue is in production testwiki wmf.20 as T327824:

Screen Shot 2023-01-24 at 5.22.05 PM.png (1×1 px, 142 KB)

Checked & Resolved in wmf.21.