Page MenuHomePhabricator

[testwiki-wmf.6] Mentorship dashboard - no value for 'active ago' label
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue :

What happens?:

  • "active ago" label doesn't display the value

<div class="ext-growthExperiments-DataTableCellMentee__user-info__last-seen">active ago</div>

Screen Shot 2024-05-21 at 1.18.45 PM.png (948×1 px, 167 KB)

What should have happened instead?:

  • the value for the label should be displayed

Other information :

  • the issue is present in beta

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Etonkovidova renamed this task from [testwiki-wmf.6] Mentorship dashboard - no value in 'active ago' label to [testwiki-wmf.6] Mentorship dashboard - no value for 'active ago' label .May 21 2024, 8:23 PM

Change #1036279 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] Util: avoid weeks as duration format

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

Sgs edited projects, added Growth-Team (Sprint 14 (Growth Team)); removed Growth-Team.

I think the support for "weeks" as a relative format duration has been dropped, based on T219397#9742934, see Language.php#L261.

I've submitted a patch that fixes the "no value" issue but now 4+ weeks ago (30 days exactly) will be shown as 1 month ago, 2 months ago, etc. This is not ideal but better than the broken state.

Sgs triaged this task as High priority.May 27 2024, 2:36 PM

Change #1036279 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Util: avoid weeks as duration format

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

Checked on testwiki wmf.7 - the fix is in place; 'weeks' as format for time duration is not present, e.g.

Screen Shot 2024-05-28 at 11.33.38 AM.png (628×1 px, 91 KB)