Skip to content

ECHO-883 Feat/monitor posthog analytics#853

Merged
ussaama merged 3 commits into
mainfrom
feat/monitor-posthog-analytics
Jul 16, 2026
Merged

ECHO-883 Feat/monitor posthog analytics#853
ussaama merged 3 commits into
mainfrom
feat/monitor-posthog-analytics

Conversation

@ussaama

@ussaama ussaama commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

No description provided.

ussaama added 2 commits July 16, 2026 13:48
  Add host-facing Monitor analytics and end-to-end portal recording
  reliability events so we can see adoption, drop-off, and failures.

  Host dashboard:
  - monitor_opened/closed, monitor_drilldown_opened,
    monitor_conversation_opened (row + funnel), monitor_participant_name_edited,
    monitor_locked_row_clicked
  - monitor_stream_degraded/reconnected/load_failed

  Portal reliability (participant):
  - portal_recording_interrupted (at detection), backgrounded/foregrounded,
    network offline/online, chunk_upload_failed, uploads_incomplete_on_finish,
    conversation_deleted_during_recording, mic_permission_resolved, abandoned

  Backend (server_*, keyed on conversation_id):
  - server_chunk_upload_bad, server_chunk_not_found_in_s3,
    server_chunk_transcription_failed

  Notes:
  - Stream-health state lives on the shared SSE connection so it fires once
    across the 2-3 concurrent useConversationMonitor mounts, not per mount.
  - Page-session analytics isolated to a null-rendering leaf so live snapshots
    don't re-render the Monitor page chrome.
  - Edge-triggered effects use primitive deps / refs to avoid per-tick reruns.

  Tests: row + locked click-through and isProblemState (frontend);
  confirm-upload bad/missing-chunk and transcription-failure captures (backend).
@ussaama ussaama changed the title Feat/monitor posthog analytics ECHO-883 Feat/monitor posthog analytics Jul 16, 2026
@linear

linear Bot commented Jul 16, 2026

Copy link
Copy Markdown

ECHO-883

@ussaama
ussaama merged commit 6b12ca3 into main Jul 16, 2026
11 checks passed
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