Skip to content

Conversation

@jetelain
Copy link
Owner

No description provided.

@jetelain jetelain requested a review from Copilot March 28, 2025 20:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to improve image persistence and extend session statistics tracking.

  • Adds new session statistic fields for photos and intel in the stats view and related services.
  • Removes the expiration check when restoring images to improve image persistence.

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

File Description
cTabIRL/cTabWebApp/Views/Home/Stats.cshtml Adds new statistics entries for ActiveSessionsWithPhotos and ActiveSessionsWithIntel.
cTabIRL/cTabWebApp/Services/PlayerStateServiceStats.cs Introduces new properties for Intel and Photos sessions.
cTabIRL/cTabWebApp/Services/PlayerStateService.cs Updates statistic calculations to include photo and intel session counts.
cTabIRL/cTabWebApp/Services/Images/ImageService.cs Modifies image restoration by omitting the expiration check.
Files not reviewed (2)
  • cTabIRL/setup/appsettings.Production.json: Language not supported
  • cTabIRL/setup/setup.sh: Language not supported
Comments suppressed due to low confidence (1)

cTabIRL/cTabWebApp/Services/Images/ImageService.cs:59

  • Removing the expiration check may lead to restoring expired images; please verify if this behavior is intended or if the condition should be reincluded to prevent stale image data from being added.
if (entry != null && entry.Token == token)

@jetelain jetelain merged commit d587347 into master Mar 28, 2025
3 checks passed
@jetelain jetelain deleted the imageservice-stats branch March 28, 2025 21:56
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.

2 participants