Page MenuHomePhabricator

Mentor dashboard: M1 mentee overview: Add "last updated" indicator and ability to manually refresh mentee data
Open, LowPublic

Description

Proposed improvement based on discussion on T293447#7430891

User job story
(As a mentor) When I go to check on my mentees....
I want the information on my mentees to be as up-to-date as possible...
so that I can take action to help them in a more timely fashion.
A specific situation may be being able to see that the user data is 2.5hrs old, one may refresh to more recent info and see that there's a mentee question posted 5 minutes ago that if answered now has more opportunity to be seen.

Proposed design

  • An indicator shows the last updated data in the Mentee overview module: Last updated # min ago
  • A refresh icon button is shown next to the last updated indicator, which when selected brings up a dialog to confirm that the mentor wants to refresh the data
  • The confirmation dialog has text explaining that the data will refresh in the background and could take a few minutes. There are two buttons to either Cancel or to proceed to Refresh mentee data.
  • If Refresh mentee data is selected the dialog will close to show the mentee module with last updated data until the data update is complete.

[mocks TBC]

Event Timeline

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

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Factor updating process out to a separate service

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

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

[mediawiki/extensions/GrowthExperiments@master] Add ApiMentorDashboardUpdateData

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

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

[mediawiki/extensions/GrowthExperiments@master] MenteeOverviewDataUpdater: Record timestamp of last update

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

I uploaded the backend patches for this, waiting on the mockups now, so I can update the frontend, too.

Change 731187 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Factor updating process out to a separate service

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

Change 731189 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Add ApiMentorDashboardUpdateData

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

Change 731191 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] MenteeOverviewDataUpdater: Record timestamp of last update

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