Page MenuHomePhabricator

Post-date programs
Closed, ResolvedPublic


It would be good to be able to post-date programs, such as past classes and editathons, and extract the dashboard's metrics from them. This could either be a manual setting by admin, or ideally it could be something available to all users on request.

Event Timeline

Pharos created this task.Nov 9 2016, 6:02 PM
Restricted Application added subscribers: Base, Aklapper. · View Herald TranscriptNov 9 2016, 6:02 PM

I think the way to do this technically will be to add a boolean to Course records — needs_update or somesuch — and add an Actions button to schedule an update, which would set that boolean to true, and then add a line to constant update to import revisions from courses where needs_update is true and then update it to false. I think updating the revisions for the course is all that would be necessary.

Strong support. This is a feature which will make our life much easier.

@Pharos @Vojtech.dostal

Okay. I think I got this working. Now if you are the facilitator for a course that has already ended, you should see a 'Schedule Data Update' button in the 'Actions' section.

Click that, and the course should get revisions imported during the next update cycle (within a couple of hours).

Please give it a try with a real program from the past, and let me know if it seems to be working correctly.

Ragesoss closed this task as Resolved.Dec 20 2016, 10:26 PM
Ragesoss claimed this task.

This works now, I believe. If there are problems related to this functionality, we can open separate issues for them.