chore(analytics): drop UI-side Aptabase events#449
Merged
robinebers merged 1 commit intomainfrom May 7, 2026
Merged
Conversation
Removes the provider_refreshed, providers_reordered, setting_changed, update_accepted, and provider_toggled custom events. Daily-active app_started (Rust-side) is the only remaining tracked event. Co-authored-by: Cursor <cursoragent@cursor.com>
fathiraz
added a commit
to fathiraz/openusage
that referenced
this pull request
May 7, 2026
* main: chore: bump version to 0.6.23 chore(analytics): drop UI-side Aptabase events (robinebers#449) fix(claude): remove peak hours indicator integration (robinebers#447)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
provider_refreshed,providers_reordered,setting_changed,update_accepted, andprovider_toggledtrack()import + tests; the analytics wrapper module stays in place but has no callers in the JS layerapp_startedevent remains untouched (sent at most once per UTC day fromsrc-tauri/src/lib.rs)Test plan
bun run test— 1076 passing (one obsoletepage_viewednon-tracking test removed)Made with Cursor
Note
Low Risk
Removes client-side analytics calls and related test assertions without changing core app behavior; low risk aside from losing telemetry signals.
Overview
Drops React/UI-layer Aptabase tracking by removing
track()calls for plugin refresh/reorder/toggle, settings changes, and update acceptance (e.g. inApp,useProbeRefreshActions, and settings action hooks).Cleans up tests by removing analytics mocks/assertions and deleting an obsolete startup/navigation tracking test;
src/lib/analyticsremains covered by a simplified generic event test.Reviewed by Cursor Bugbot for commit 235fedf. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Removed all UI-side Aptabase analytics to simplify the React app and reduce noise. The only remaining analytics is the Rust-side daily
app_started; the JStrack()helper remains but has no React callers.provider_refreshed,providers_reordered,setting_changed,update_accepted,provider_toggled.page_viewedtest.src/lib/analyticsandtrack(); still a no-op on web and forwards events when running in Tauri (tests updated).Written for commit 235fedf. Summary will update on new commits.