Skip to content

Comments

ENG-1448 - Add PostHog capture events for broader Roam feature usage telemetry#798

Merged
mdroidian merged 8 commits intomainfrom
eng-1448-add-posthog-capture-events-for-broader-roam-feature-usage
Feb 21, 2026
Merged

ENG-1448 - Add PostHog capture events for broader Roam feature usage telemetry#798
mdroidian merged 8 commits intomainfrom
eng-1448-add-posthog-capture-events-for-broader-roam-feature-usage

Conversation

@mdroidian
Copy link
Contributor

@mdroidian mdroidian commented Feb 17, 2026

Codex:
Added In This PR

  1. Import discourse graph flow (Import Dialog: Import Started)
  2. Suggestive mode settings tab interaction (Suggestive Mode Settings: Tab Opened)
  3. Suggestions panel open/close toggle (Suggestive Mode Panel: Toggled)
  4. Possible duplicates panel open/close toggle (Possible Duplicates: Toggled)
  5. Left sidebar target open interaction (Left Sidebar: Target Opened)
  6. Left sidebar personal settings add section (Left Sidebar Personal Settings: Section Added)
  7. Left sidebar global settings add page (Left Sidebar Global Settings: Page Added)
  8. Personal settings overlay toggle (Personal Settings: Overlay Toggled)
  9. General settings left sidebar toggle (General Settings: Left Sidebar Toggled)
  10. Default filters add column (Default Filters: Column Added)
  11. Create relation dialog submit (Create Relation Dialog: Create Triggered)
  12. Modify node dialog submit (Modify Node Dialog: Submit Triggered)
  13. Canvas clipboard open/close toggle (Canvas Clipboard: Toggled)
  14. Canvas drawer open/close toggle (Canvas Drawer: Toggled)
  15. Canvas convert-to selection (Canvas Convert To Dialog: Node Type Selected)
  16. Image tools menu edit action (Image Tools Menu: Edit Block Clicked)
  17. Text selection popup open (Text Selection Popup: Opened)

Already Had PostHog Before This PR

  1. Discourse node menu create/tag actions
  2. Floating menu interactions/open event
  3. Discourse context show results event
  4. Query drawer usage/error/open events
  5. Query block/page render events
  6. Graph overview export event
  7. Export dialog/send-to-destination/tab/open flow events
  8. Results view layout/column/share interactions
  9. Discourse node search menu selection event
  10. Reified relations migration/toggle events
  11. Discourse node type creation event
  12. Discourse relation creation event
  13. Query page format add event
  14. Query settings toggles/changes
  15. Settings dialog/tab/admin/feedback/open events
  16. Canvas telemetry (opened/fullscreen/relation/open-node/drop/add-asset/add-node)
  17. Discourse node creation utility event
  18. Extension loaded event
  19. Command palette usage events (query/export/settings/overlay/metadata toggles)
  20. Sync completion/error events

Open with Devin

Summary by CodeRabbit

  • Chores
    • Added analytics instrumentation across the app to record user interactions in settings, export flows, canvas features, sidebars, dialogs, command palette, import/export, and suggestion panels.
    • Telemetry now captures opens, toggles, dialog actions, export milestones, and other UI events to improve product insights without changing user-facing behavior.

@linear
Copy link

linear bot commented Feb 17, 2026

@supabase

This comment was marked as off-topic.

@mdroidian

This comment was marked as resolved.

@coderabbitai

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@coderabbitai

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@mdroidian
Copy link
Contributor Author

@coderabbitai review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 17, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

coderabbitai[bot]

This comment was marked as resolved.

@mdroidian
Copy link
Contributor Author

@maparent — per your suggestion in the all-hands today:

Feel free to add to this where appropriate, provided we’re not modifying any existing logic or functionality. The goal is to keep this PR focused and straightforward.

@mdroidian mdroidian requested a review from maparent February 18, 2026 00:06
Copy link
Collaborator

@maparent maparent left a comment

Choose a reason for hiding this comment

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

All good , a few optional suggestions.

@maparent
Copy link
Collaborator

Just an idea: Do we want posthog in dev? Should we have an intermediate function that disables it in dev unless a variable is set? Clearly can be done later, just want to open the discussion about whether that would be useful.

@mdroidian
Copy link
Contributor Author

Just an idea: Do we want posthog in dev? Should we have an intermediate function that disables it in dev unless a variable is set? Clearly can be done later, just want to open the discussion about whether that would be useful.

Probably would be useful, but posthog also has affordances to filter out dev. (Graphs, users, etc)

devin-ai-integration[bot]

This comment was marked as resolved.

@mdroidian mdroidian force-pushed the eng-1448-add-posthog-capture-events-for-broader-roam-feature-usage branch from 6ed3fbf to 476e9fa Compare February 21, 2026 23:50
@mdroidian mdroidian merged commit e9b43ea into main Feb 21, 2026
8 checks passed
@mdroidian mdroidian deleted the eng-1448-add-posthog-capture-events-for-broader-roam-feature-usage branch February 21, 2026 23:53
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.

2 participants