Skip to content

Commit 1084e49

Browse files
committed
refactor: remove analytics tracking for settings changes
1 parent 5f793d7 commit 1084e49

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

src-tauri/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -589,11 +589,6 @@ async fn save_settings(settings: AppSettings, app: AppHandle) -> Result<(), Stri
589589

590590
fs::write(file_path, json).map_err(|e| format!("Failed to write settings file: {}", e))?;
591591

592-
// Track settings changes analytics (if enabled)
593-
if settings.analytics_enabled {
594-
let _ = app.track_event("settings_saved", None);
595-
}
596-
597592
Ok(())
598593
}
599594

src/utils/analytics.js

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -182,33 +182,6 @@ class Analytics {
182182
}
183183
};
184184

185-
/**
186-
* Track settings changes
187-
*/
188-
static settings = {
189-
/**
190-
* Track when settings are changed
191-
* @param {string} category - Settings category
192-
* @param {string} setting - Setting name
193-
* @param {any} value - New value
194-
*/
195-
async changed(category, setting, value) {
196-
await Analytics.track("setting_changed", {
197-
category,
198-
setting,
199-
value: String(value)
200-
});
201-
},
202-
203-
/**
204-
* Track when theme is changed
205-
* @param {string} theme - Theme name
206-
*/
207-
async themeChanged(theme) {
208-
await Analytics.track("theme_changed", { theme });
209-
}
210-
};
211-
212185
/**
213186
* Track session-related events
214187
*/

0 commit comments

Comments
 (0)