rowboat/apps/x
Arjun 86589dbe50 feat(x): PostHog usage analytics across all feature surfaces
Adds feature-level instrumentation so dashboards can answer "how
important is X and what do people do inside it":

- view_opened fired centrally from the currentViewState effect — one
  event per section visit (email/meetings/bg-tasks/apps/...), plus
  one-shot has_used_* person properties for cohorts
- Email: thread opened, compose opened, sent (mode/attachments/
  ai_assisted), AI draft generated, archived, trashed, marked unread,
  importance/category corrections, bulk category archive, search,
  instructions saved, manual sync, send failures
- Meetings: recording started/stopped (duration), popup action
  (captured in main — popup window has no PostHog), note opened,
  summarize failures
- Calls: call_ended with duration (call_started already existed)
- Background agents: created (manual/coding/copilot), updated,
  toggled, run clicked, stopped, deleted; run completed/failed with
  trigger captured in the core runner for a true failure rate
- Live notes: saved, toggled, run, stopped, deleted, edit-with-copilot
- Code mode: session created (direct vs rowboat, agent) and
  direct-drive messages (direct mode emits no llm_usage otherwise)
- Billing: paywall shown / upgrade clicked by error kind
- Search: opened + result selected; Settings: opened + tab changed
- Notes: created; edited (deduped to one event per note per session)
- Apps: app_rolled_back (rest were already captured in main)

All changes are additive — existing events, identity flow, and person
properties are untouched. ANALYTICS.md updated with the full catalog.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 22:44:25 +05:30
..
.pnpm-store/v11 add talking mascot 2026-07-02 22:20:11 +05:30
apps feat(x): PostHog usage analytics across all feature surfaces 2026-07-14 22:44:25 +05:30
docs feat(apps): M3 UI — catalog, D18 install dialog, publish dialog, detail actions 2026-07-06 15:34:54 +05:30
packages feat(x): PostHog usage analytics across all feature surfaces 2026-07-14 22:44:25 +05:30
.gitignore feat(x): reference-based model requests + wire-form composer 2026-07-02 14:20:44 +05:30
ANALYTICS.md feat(x): PostHog usage analytics across all feature surfaces 2026-07-14 22:44:25 +05:30
CODE_MODE_ENGINES_PLAN.md Code mode: make packaged builds work via managed engine provisioning (#625) 2026-06-17 21:53:15 +05:30
demo.gif add gif 2026-07-10 10:04:37 +05:30
eslint.config.mts ignore renderer eslint 2026-01-16 12:05:33 +05:30
GRANOLA_PARITY.md feat(x): resident app — launch at login + menu bar tray (Granola parity phase 1) 2026-07-13 21:02:20 +05:30
LIVE_NOTE.md docs(x): design docs and prompt catalogs follow the runtime/ move 2026-07-10 16:30:26 +05:30
MINI_APPS_PLAN.md feat(mini-apps): copilot builder — build-mini-app skill + install/data tools 2026-07-01 01:25:45 +05:30
package.json ci(x): typecheck test files — the gap vitest and the build tsconfigs both miss 2026-07-10 16:30:26 +05:30
pnpm-lock.yaml chore(x): migrate to AI SDK 7 2026-07-13 16:22:36 +05:30
pnpm-workspace.yaml build(x): graft vscode-jsonrpc onto langium via packageExtensions 2026-07-07 02:45:09 +05:30
tsconfig.base.json bootstrap new electron app 2026-01-16 12:05:33 +05:30
VIDEO_MODE.md docs(x): fix pointers the reorg docs pass got wrong or missed 2026-07-10 17:57:03 +05:30