Currently, the mentee overview table in #growthexperiments-mentordashboard shows different users than the filters in recent changes. This is confusing, and resulted in a couple of tasks filled (see subtasks).
We should:
1. Decide which kind of mentees we want to show to mentors (currently, mentee overview shows users who made an edit in last 6 months or registered in last 14 days; we might want to add an experience limit, and we likely should account for opt-outs from T287915)
2. Ensure both recent changes and mentee overview show the same set of users
3. Ensure recent changes filters stay realtime
----During the 2022-10-26 mentorship meeting, we decided to include users who registered in the last 6 months in both the Mentor dashboard and recent changes filters. From the requirements above:
I talked about this with @tgr,1. and we came with this idea of how to realize this:
* `gemm_valid_for_dashboard`: user meets the business rules to be shown in the dashboard;We'll show users who registered in last 6 months (ie. will be updated both by updatedisplay more users in MenteeData.php and by pageSaveComplete hook overview)
* `gemm_opt_out`: set to true when user opts out from mentorship
The first field kinda duplicates the presence in `growthexperiments_mentee_data` table.2. All users who show in recent changes will show in Mentee overview (once it updates); Howeverall users who appear in Mentee overview will show in Recent changes (when they make an action, that table is far from real-time,of course)
3. and isn't usable for recent changesWe will not change the implementation of the RC filters., It's not
Recent changes and mentor dashboard won't show any mentees that have either `gemm_valid_for_dashboard=0` or `gemm_opt_out=1`.so that should stay as-is. T318457 will bring it to the biggest wikis, where it is not yet available.