Page MenuHomePhabricator

Dashboard integration: Configure the P&E Dashboard integration in beta
Closed, ResolvedPublic1 Estimated Story Points

Description

Acceptance criteria

  • Enable integration with the staging instance of the dashboard in the public beta configuration
  • Add the API secret key in the private beta configuration

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptOct 7 2022, 2:22 PM
Aklapper renamed this task from Configure the P&E Dasboard integration in beta to Configure the P&E Dashboard integration in beta.Oct 8 2022, 6:49 PM
ifried renamed this task from Configure the P&E Dashboard integration in beta to Dashboard integration: Configure the P&E Dashboard integration in beta.Nov 11 2022, 4:24 PM

Change 935463 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[operations/mediawiki-config@master] beta: Enable wgCampaignEventsProgramsAndEventsDashboardInstance

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

Secret API key to put in the private settings: P49505

Mentioned in SAL (#wikimedia-releng) [2023-07-05T14:00:30Z] <Lucas_WMDE> added $wgCampaignEventsProgramsAndEventsDashboardAPISecret to beta PrivateSettings (T320258)

Change 935463 merged by jenkins-bot:

[operations/mediawiki-config@master] beta: Enable wgCampaignEventsProgramsAndEventsDashboardInstance

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

Daimona added a subscriber: vaughnwalters.

This was done, and it works correctly as can be seen here: https://meta.wikimedia.beta.wmflabs.org/wiki/Special:EventDetails/235

@vaughnwalters I'm putting this in QA in case you want to run more tests in beta.

โœ… adding an event

correct 6 participants in betacluster.gif (1ร—3 px, 2 MB)

โœ… changing a participant's registration from private to public correctly conveys to the dashboard

private participants correctly conveying.gif (1ร—2 px, 3 MB)

๐Ÿšซ @Daimona If a participant is removed from the event by an organizer, or the participant cancels their own registration, the participant is removed from the course in the p&edashboard, but the number of editors is not correctly updated in the p&e dashboard:

Screen Recording 2023-07-07 at 12.29.46 PM.gif (1ร—3 px, 2 MB)

Here you can can see the discrepancy between the event and the dashboard where the event shows three participants, but the p&e dashboard shows six.

๐Ÿšซ @Daimona If a participant is removed from the event by an organizer, or the participant cancels their own registration, the participant is removed from the course in the p&edashboard, but the number of editors is not correctly updated in the p&e dashboard:

Thanks, it looks like this is on the Dashboard side. @Ragesoss do you have any insights into this?

๐Ÿšซ @Daimona If a participant is removed from the event by an organizer, or the participant cancels their own registration, the participant is removed from the course in the p&edashboard, but the number of editors is not correctly updated in the p&e dashboard:

Thanks, it looks like this is on the Dashboard side. @Ragesoss do you have any insights into this?

This is now fixed. Sending to product sign off

Screen Recording 2023-07-17 at 6.40.07 PM.gif (1ร—3 px, 1 MB)

One thing to note is that the number of participants in the Campaign Events page may differ from the number in the P&E dashboard side because private participants are included in the total participant count in the Campaign Events side, but are not included in the total editor count in the P&E dashboard side. See below:

Screen Recording 2023-07-17 at 6.43.30 PM.gif (1ร—2 px, 3 MB)

ifried subscribed.

Thanks for the note on what may seem like an error (but is really due to the fact that the Dashboard does not provide data on the number of private participants), @vaughnwalters I think that we can explain this discrepancy in the documentation. This looks good, and I'm marking this as Done.