Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for tracking playtime statistics #584

Merged
merged 32 commits into from
Oct 1, 2024
Merged

Conversation

gablm
Copy link
Member

@gablm gablm commented Sep 29, 2024

  • Adds tracking of various statistics related to playtime: Time spent daily, weekly and monthly playing a certain game plus the length of the most recent session.

  • Moves playtime related code from the HomePage to it's own class, which can be accessed via the regions GamePresetProperty.

Copy link

github-actions bot commented Sep 29, 2024

Qodana for .NET

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Copy link
Member

@bagusnl bagusnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall all the codes are fine by me, just some suggestion I added in the comments.

If you can please fix the Qodana warnings
Good job on the work!

CollapseLauncher/Classes/GamePropertyVault.cs Outdated Show resolved Hide resolved
@bagusnl bagusnl requested a review from neon-nyan September 30, 2024 23:01
Copy link
Member

@bagusnl bagusnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good on me~

Copy link
Member

@neon-nyan neon-nyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I abbrob
image

@neon-nyan neon-nyan merged commit 388cfbb into main Oct 1, 2024
7 of 8 checks passed
@gablm gablm deleted the playtime-stats branch October 8, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants