https://metaplay.io logo
Unique player incidents "last week" instead of 24h...
# questions-and-feedback
j
Is there a way to view Unique player incidents grouped by a week isntead of last 24h? 24h feel short, and they disappear fast. On the other hand, seeing the recent incident history is not confortable at all either, since there's a lot of duped exceptions. We're still in prelaunch, doing open playtest every now and then that last 2-3 days, most of the times on weekend, which makes it really unconfortable to view and process all the errors on time before the report disappears 😦
j
By default we have the 24 hour view, the global history capped at 200, which you can filter by incident type, and then player specific incident views under the player page in the technical tab. But you can easily customize the LiveOps Dashboard, starting with https://docs.metaplay.io/liveops-dashboard/introduction-to-the-liveops-dashboard.html and ending up in https://docs.metaplay.io/liveops-dashboard/how-to-guides/customizing-the-liveops-dashboard-frontend.html. In your case, you could add a new card that displays weekly incidents by adding an initialization of your custom card component to your gamespecific.ts:
Copy code
initializationApi.addUiComponent('PlayerIncidents/ByType', {
      uniqueId: 'WeeklyIncidents',
      vueComponent: async () => await import('./WeeklyIncidents.vue'),
      displayPermission: 'api.incident_reports.view',
    })
And then for the contents of that custom card you could copy the GlobalIncidentStatisticsCard.vue, but change the endpoint inside that is being polled to a new endpoint that could copy GetPlayerIncidentReportStatistics.
j
Ok thanks, will try it out