Skip to content

OPE-124 Instrument product Analytics screens and actions - #135

Merged
ivanfenenko merged 2 commits into
mainfrom
feature/ope-124-product-analytics-taxonomy-and-instrumentation
Aug 9, 2026
Merged

ivanfenenko merged 2 commits into
mainfrom
feature/ope-124-product-analytics-taxonomy-and-instrumentation

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Aug 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add shared ProductAnalytics helpers (product_screen_view / product_user_action) on iOS and Android, gated by existing Analytics consent through OpenCodeReleaseObservability.
  • Instrument all product screens and meaningful user actions on both apps; developer tools stay out; content/paths/URLs never logged.
  • Document taxonomy and progress under docs/features/release-observability/ (ope-124-plan.md, decisions, parity for intentional composer_dismiss_suggestions gap).

Docs

  • docs/features/release-observability/ope-124-plan.md
  • docs/features/release-observability/progress.md

Test plan

  • Android: :app:testDebugUnitTest (includes ProductAnalyticsTest)
  • iOS: unit tests including ProductAnalyticsTests
  • With Product Analytics off: confirm no product events leave the seam
  • With Product Analytics on (Release): confirm screen/action events fire without content params
  • Spot-check home → chat → send → settings consent toggle / clear all data

Linear

  • OPE-124

Risks / Follow-ups

  • Store privacy forms still need a second pass for product-event disclosure before treating collection as disclosure-complete.
  • composer_dismiss_suggestions intentionally unwired on both platforms (no explicit dismiss affordance).

Made with Cursor


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

Add shared ProductAnalytics taxonomy helpers and wire consented
product_screen_view / product_user_action coverage across iOS and Android
product surfaces, keeping developer tools and content out of the payload.

Co-authored-by: Cursor <[email protected]>
@linear-code

linear-code Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
OPE-124 Product Analytics taxonomy and instrumentation

Parent

OPE-121 — Release Observability

Outcome

Consented product Analytics covers every product screen and every meaningful user interaction through OpenCodeReleaseObservability / ProductAnalytics (product_screen_view + product_user_action).

Done on branch

  • ☑ Shared event names and parameters documented (ope-124-plan.md, decisions.md)
  • ☑ Domain helpers on both platforms
  • ☑ Screen Models / navigation emit; views do not import Firebase
  • ☑ Automatic screen reporting remains disabled
  • ☑ Product events cannot fire without Analytics consent
  • ☑ Product screens and actions instrumented (intentional gap: composer_dismiss_suggestions — no explicit dismiss on either platform)

Remaining

  • ☐ Publish (commit / PR)
  • ☐ Store forms updated for product-event collection practices (operator disclosure)

Docs: docs/features/release-observability/

Review in Linear

@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 5 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0d39cad. Configure here.

Log session opens from session-list home, avoid double refresh/retry
events, and only record source/rename/fork confirms after validation.

Co-authored-by: Cursor <[email protected]>
@ivanfenenko
ivanfenenko merged commit 9a06c61 into main Aug 9, 2026
5 checks passed
@ivanfenenko
ivanfenenko deleted the feature/ope-124-product-analytics-taxonomy-and-instrumentation branch August 9, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant