feat: remove the anonymous usage counts (owner review 4, R2)
The owner does not want Chronos to send data about its use, and nothing ever sent the counts the consent promised. The first-run checkbox, the Settings > General row, the AnonymousUsageCounts setting and its three strings in every culture are gone; a settings file that still carries the member loads and is saved without it. BRIEF §21, the EULA and the Welcome mockup now say Chronos sends nothing about its use; the diagnostics bundle stays, saved only locally. Refs #30 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe50b87726
commit
8dc1b25d94
88 files changed
+36
-180
No files matched your search
@@ -305,6 +305,20 @@ public sealed class SettingsLogicTests
|
||||
Assert.Equal((640, 30, 3.5, true), (copy.ThumbnailLongEdge, copy.ScanIntervalMinutes, copy.NightBrightnessPercent, copy.DeepAnalysisAfterScan));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AnOldSettingsFileWithUsageCountsStillLoads()
|
||||
{
|
||||
// Chronos sends nothing about its use (owner review 4, R2): the setting is gone, and a file that still carries it loads
|
||||
// with its other values and is saved without it.
|
||||
Assert.Null(typeof(AppSettings).GetProperty("AnonymousUsageCounts"));
|
||||
var path = Path.Combine(_context.CreateTempDirectory("settings"), "settings.json");
|
||||
File.WriteAllText(path, """{ "Theme": "Light", "AnonymousUsageCounts": true, "OsNotifications": false }""");
|
||||
var loaded = AppSettings.Load(path);
|
||||
Assert.Equal((Chronos.Ui.Theming.AppTheme.Light, false), (loaded.Theme, loaded.OsNotifications));
|
||||
loaded.Save(path);
|
||||
Assert.False(File.ReadAllText(path).Contains("AnonymousUsageCounts", StringComparison.Ordinal), "saved without the removed member");
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void BackgroundPriorityRaisesTheInterfaceOnlyInFront()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user