mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
The tray had no telemetry. It now sends the same envelope as the desktop app to the same endpoint, with app name codeburn-menubar. Consent comes from the desktop app's telemetry state file when that app is installed, so one decision covers both apps and events share one anonymous id; otherwise the tray asks once, defaulting off for EU, EEA, UK and Swiss locales and for an unknown locale, and keeps its own toggle under Settings, General, Privacy. Switching off rotates the id. Events, all name-only or bucketed: app_open, app_close with session minutes, popover_open, settings_open with the pane, update_click with the action, glance_open, dock_enabled and dock_disabled with the edge and a scale bucket, dock_provider_switch, dock_drag_end with the edge, and the CLI's usage_snapshot once a day, skipped when the desktop app is the consent source so nothing is counted twice. The queue persists under the app's local data directory, capped at two hundred events, and flushes every five minutes and on quit; a 4xx drops the batch, anything else keeps it. Debug builds never send. |
||
|---|---|---|
| .. | ||
| accent.ts | ||
| appSettings.ts | ||
| cache.ts | ||
| currency.ts | ||
| dates.ts | ||
| dockPrefs.ts | ||
| glance.ts | ||
| history.ts | ||
| payload.ts | ||
| plan.ts | ||
| platform.ts | ||
| quota.ts | ||
| refresh.ts | ||
| settings.ts | ||
| telemetry.ts | ||
| tips.ts | ||
| update.ts | ||
| watched.ts | ||