Merge multiple joining of the same player into a single series in the instance activity details chart #539

Closed
opened 2026-04-05 16:20:43 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @paralleltree on 2/22/2025

Overview

This PR merges the activities of the players who joined the same instance multiple times into a single series in the instance activity details chart.
This reduces the number of rows, even if some players rejoin the instance.

Changes

This update processes the activities by the following steps:

  • Grouping activities by user ID
  • Converting the grouped activities into chart series
    • Generating multiple (more than two) series if a player rejoins the instance (typically, a series consists of two components: a placeholder and time)

This also includes the following changes:

  • Show the tooltip when hovering over the each element in the chart.

Screenshots

Before

  • Players who rejoined the instance are displayed in multiple rows (highlighted with a pink box).

image

After

  • Players who rejoined the instance are displayed in a single row (highlighted with a pink box).

image

Remarks

I noticed that the activity chart is being improved in PR vrcx-team#1144.
Once PR vrcx-team#1144 is merged, the following updates will be required in this PR:

  • Resolving conflicts in this PR
  • Adjusting the barWidth parameter in the instance activity details chart.

Please let me know if you have any questions or suggestions!

*Originally created by @paralleltree on 2/22/2025* ## Overview This PR merges the activities of the players who joined the same instance multiple times into a single series in the instance activity details chart. This reduces the number of rows, even if some players rejoin the instance. ## Changes This update processes the activities by the following steps: * Grouping activities by user ID * Converting the grouped activities into chart series * Generating multiple (more than two) series if a player rejoins the instance (typically, a series consists of two components: a placeholder and time) This also includes the following changes: * Show the tooltip when hovering over the each element in the chart. ## Screenshots ### Before * Players who rejoined the instance are displayed in multiple rows (highlighted with a pink box). ![image](https://github.com/user-attachments/assets/5cbf28aa-2878-4e72-81e8-2919a78b95c0) ### After * Players who rejoined the instance are displayed in a single row (highlighted with a pink box). ![image](https://github.com/user-attachments/assets/2ebc591f-4156-4a03-b2e0-1dc2b6859663) ## Remarks I noticed that the activity chart is being improved in PR vrcx-team#1144. Once PR vrcx-team#1144 is merged, the following updates will be required in this PR: * [x] Resolving conflicts in this PR * [x] Adjusting the `barWidth` parameter in the instance activity details chart. Please let me know if you have any questions or suggestions!
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#539