Skip to content

Centralize log paths, tray log folder, telemetry fixes#101

Merged
dimitar-radenkov merged 4 commits into
masterfrom
telemetry-desktop-privacy-cleanup
May 10, 2026
Merged

Centralize log paths, tray log folder, telemetry fixes#101
dimitar-radenkov merged 4 commits into
masterfrom
telemetry-desktop-privacy-cleanup

Conversation

@dimitar-radenkov
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 10, 2026 16:59
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 10, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 69.56522% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
Pointframe/Services/TelemetryService.cs 72.72% 2 Missing and 1 partial ⚠️
Pointframe/App.xaml.cs 0.00% 2 Missing ⚠️
Pointframe/Services/AppPaths.cs 80.00% 1 Missing ⚠️
Pointframe/Services/TrayIconManager.cs 80.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

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 updates Pointframe’s logging/telemetry behavior and documentation by centralizing local log paths, adding a tray entry point to open the logs folder, and tightening telemetry so exception details aren’t forwarded.

Changes:

  • Centralize log file/folder paths via a new AppPaths helper and wire Serilog + tray UI to it.
  • Update telemetry implementation (dispose/flush behavior, privacy changes around exceptions) and heartbeat interval (now 4 hours).
  • Refresh README/website privacy messaging and bump app version to 5.9.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/free-snagit-alternative-windows.html Updates marketing copy to reflect anonymous telemetry in official builds.
version.json Bumps version from 5.8 to 5.9.
README.md Expands/clarifies privacy & telemetry documentation, event list, and log location.
Pointframe/Services/TrayIconManager.cs Adds “Open Logs Folder” tray menu item using centralized log path.
Pointframe/Services/TelemetryService.cs Adjusts telemetry lifecycle and prevents forwarding exception objects to the remote logger.
Pointframe/Services/TelemetryHeartbeatService.cs Changes heartbeat interval from 30 minutes to 4 hours.
Pointframe/Services/AppPaths.cs Introduces centralized LocalAppData/log path definitions.
Pointframe/App.xaml.cs Uses AppPaths.RollingLogPath and reorders exit flush relative to host shutdown.
Pointframe.Tests/Services/TrayIconManagerTests.cs Adds test coverage for opening the logs folder from tray.
Pointframe.Tests/Services/TelemetryServiceTests.cs Adds assertion that exception objects aren’t forwarded via telemetry logger calls.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

private void OpenLogsFolder_Click(object sender, RoutedEventArgs e)
{
Directory.CreateDirectory(AppPaths.LogsDirectory);
OpenFolder(AppPaths.LogsDirectory);
Comment on lines +284 to +296
[Fact]
public void OpenLogsFolder_Click_OpensLocalLogsFolder()
{
StaTestHelper.Run(() =>
{
var processMock = new Mock<IProcessService>();
var manager = CreateManager(processService: processMock.Object);

InvokePrivate(manager, "OpenLogsFolder_Click", new object(), new RoutedEventArgs());

processMock.Verify(process => process.Start(It.Is<ProcessStartInfo>(info =>
info.FileName == "explorer.exe" && info.Arguments == AppPaths.LogsDirectory)), Times.Once);
});
@dimitar-radenkov dimitar-radenkov merged commit df5c91f into master May 10, 2026
4 checks passed
@dimitar-radenkov dimitar-radenkov deleted the telemetry-desktop-privacy-cleanup branch May 10, 2026 17:17
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