Page MenuHomePhabricator

Mentees are missing from mentor dashboard
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:

  • List of mentees is displayed, however not all mentees appear

What should have happened instead?:

  • List of all my mentees should show

Specifically, example: mentee: User:Xaosflux_ep

That account has a recent edit, and it has been over 3 hours for data refresh, and {{#mentor:xaosflux_ep}} confirms this user is my mentee

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tgr added a subscriber: Tgr.

Moving to sprint as this seems like an bug in an actively developed component.

The updates of recent mentees' activities (and claiming mentees) sometime takes time - was noticed during testing https://phabricator.wikimedia.org/T278920#7546848.

@Xaosflux - can you check if the edit by your mentee's user eventually did show up on MentorDashboard?

@Xaosflux Only users who have newcomer homepage enabled (and have mentorship) show up in the dashboard. As far as I can see, your test user does not have newcomer homepage enabled:

mysql:research@dbstore1003.eqiad.wmnet [enwiki]> select user_id, user_name from user where user_name='Xaosflux ep';
+----------+-------------+
| user_id  | user_name   |
+----------+-------------+
| 21731094 | Xaosflux ep |
+----------+-------------+
1 row in set (0.001 sec)

mysql:research@dbstore1003.eqiad.wmnet [enwiki]> select * from user_properties where up_property like 'growth%' and up_user=21731094;
+----------+------------------------------------------------+----------------+
| up_user  | up_property                                    | up_value       |
+----------+------------------------------------------------+----------------+
| 21731094 | growthexperiments-mentor-dashboard-last-update | 20211211182123 |
| 21731094 | growthexperiments-mentor-dashboard-seen        | 1              |
+----------+------------------------------------------------+----------------+
2 rows in set (0.002 sec)

mysql:research@dbstore1003.eqiad.wmnet [enwiki]>

Can you please try to enable it, and try again? You can make use of the API (action=growthmentordashboardupdatedata) to issue an one-off update (hopefully, will be a part of interface one day, see T293454).

The dashboard intentionally excludes users without the homepage (and/or mentorship module) enabled to decrease the risk of harassment in mentor/mentee relationship. In T287915: Mentorship: allow newcomers to opt-in and opt-out of mentorship, we will also let mentees opt-out only from mentorship, if they so desire.

Thanks for the update, I enabled the newcomerhomepage on that test account, will just wait for the normal refresh cycle. Assuming this fixes the issue, perhaps an update to the help text in MediaWiki:Growthexperiments-mentor-dashboard-mentee-overview-info-text can be made to advertise this additional filtering constraint?

Thanks for the update, I enabled the newcomerhomepage on that test account, will just wait for the normal refresh cycle.

According to the server-side information, you should now see the test account in your mentor dashboard. Can you confirm?

Assuming this fixes the issue, perhaps an update to the help text in MediaWiki:Growthexperiments-mentor-dashboard-mentee-overview-info-text can be made to advertise this additional filtering constraint?

Good idea. Will do it soon.

Cconfirm resolved, just a UX/UI issue, thank you for the updates! Perhaps new verbiage for that message:

FROM:
The table only shows {{GENDER:|your}} mentees who created an account within the past two weeks or who have edited in the last six months. Data is updated every three hours.

TO:
This table shows {{GENDER:|your}} mentees that have opted-in, whose account was created within the past two weeks or who have edited in the last six months. Data is updated every three hours.

this also clarifies that it is their own account that must be withing 2 weeks, not the act of creating any account (such as one for someone else).

Glad to hear that @Xaosflux. I'll think about the wording (together with other team members), but as a quick reaction to what you say: Mentees don't need to opt in. Mentorship is enabled for a certain percentage of new users at the wiki (soon, they'd be able to opt-out though). Maybe something like "This table shows your mentees that have access to Growth features, whose account was..."?

Hmm, wordsmiting is fun :) "have access" doesn't seem good howabout,

*This table shows {{GENDER:|your}} mentees whose account was created within the past two weeks or who have edited in the last six months, and have the newcomer homepage enabled. Data is updated every three hours.

something like that, not married to the phrase - but it should be reflective of what is actually needed to be currently set.

Should we mention the homepage? If so, we should provide a link to the homepage, whole mentors can enroll mentorship while not knowing the tools their mentees would use.

Should we mention the homepage? If so, we should provide a link to the homepage, whole mentors can enroll mentorship while not knowing the tools their mentees would use.

Well, the issue in this task is that only newcomers with homepage (and mentorship features) enabled show up in the list of mentees. Currently, it says pretty much the same thing, except it omits the homepage mention.

So, for those reasons, I think we should mention it. Would linking to https://www.mediawiki.org/wiki/Help:Growth/Tools/Enable_the_Homepage be a good idea?

Should we mention the homepage? If so, we should provide a link to the homepage, whole mentors can enroll mentorship while not knowing the tools their mentees would use.

Well, the issue in this task is that only newcomers with homepage (and mentorship features) enabled show up in the list of mentees. Currently, it says pretty much the same thing, except it omits the homepage mention.
So, for those reasons, I think we should mention it. Would linking to https://www.mediawiki.org/wiki/Help:Growth/Tools/Enable_the_Homepage be a good idea?

I think we should link to a different page, which would be https://www.mediawiki.org/wiki/Special:MyLanguage/Growth/Feature_summary#NH.

We want to explain that a feature exists before explaining to mentors how to turn it on (which would be covered by T269847: Automatically enable the Homepage when a logged-in user visits [[Special:Homepage]] at some point).

Change 748789 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] Update growthexperiments-mentor-dashboard-mentee-overview-info-text

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

Sounds good to me @Trizek-WMF. Uploaded a patch to change the popup.

New version is here:

image.png (518×928 px, 34 KB)

@Xaosflux @Trizek-WMF Can you have a look and provide your feedback, please?

Solves my initial user story issue.

Change 748789 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Update growthexperiments-mentor-dashboard-mentee-overview-info-text

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

Thank you for the work, Martin.

Solves my initial user story issue.

Happy to hear this.

Happy to help. Closing the task then. Updated message will be deployed with first train of 2022. Thanks everyone.