Skip to content

Feat/1156-analytics#1166

Merged
tyler-dane merged 5 commits intomainfrom
feat/1156-analytics
Oct 25, 2025
Merged

Feat/1156-analytics#1166
tyler-dane merged 5 commits intomainfrom
feat/1156-analytics

Conversation

@tyler-dane
Copy link
Contributor

@tyler-dane tyler-dane commented Oct 25, 2025

Closes #1156

Copilot AI review requested due to automatic review settings October 25, 2025 01:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds PostHog analytics integration to track user authentication and reorganizes waitlist-related UI components into separate files for better code organization.

  • Integrates PostHog analytics to identify users by email after successful authentication
  • Extracts waitlist status UI into dedicated OnTheWaitlist and NotOnTheWaitlist components
  • Updates authentication flow to return user email from backend to frontend

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/web/src/views/Login/OnTheWaitlist.tsx New component displaying waitlist status and engagement links
packages/web/src/views/Login/NotOnTheWaitlist.tsx New component for users not yet on the waitlist
packages/web/src/views/Login/Login.tsx Integrated PostHog analytics and extracted waitlist UI to separate components
packages/web/src/views/Login/Login.test.tsx Added comprehensive tests for PostHog integration and authentication flow
packages/core/src/types/auth.types.ts Added optional email field to auth result type
packages/backend/src/user/services/user.service.ts Modified to return email along with userId
packages/backend/src/user/services/user.service.test.ts Updated test to destructure email from response
packages/backend/src/auth/controllers/auth.controller.ts Updated to pass email through authentication flow

@tyler-dane tyler-dane linked an issue Oct 25, 2025 that may be closed by this pull request
1 task
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings October 25, 2025 02:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

@tyler-dane tyler-dane merged commit 44a40de into main Oct 25, 2025
5 checks passed
@tyler-dane tyler-dane deleted the feat/1156-analytics branch October 25, 2025 03: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.

Improve analytics metrics

2 participants