Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Resolve logical issues with analytics triggering #99

Open
wants to merge 3 commits into
base: 2U/develop
Choose a base branch
from

Conversation

HamzaIsrar12
Copy link

@HamzaIsrar12 HamzaIsrar12 commented Feb 20, 2025

Description

Learner-10439

  • The MyCourses or MyPrograms screen event was triggered whenever uiState updated, as it was being collected in the ViewModel. We fixed this by linking it to the tap-click event instead.
  • Some events(Launch, Identify, Permission Status & Course Dashboard) were triggered when the orientation changed since most were placed in the onCreate block. I moved them to the ViewModel's init block to resolve the issue.
  • The Course Tab events weren't triggered when navigating via a deep link but only on click events.

The MyCourses or MyPrograms screen event was being triggered
whenever uiState updated, as it was being collected in the
ViewModel. Fixed this by linking it to the tap click event instead.
Some events were being triggered on orientation change
since most were placed in onCreate block. Moved them to the
ViewModel's init block to resolve the issue.
The Course Tab events weren't being triggered when navigating
via a deeplink; they were only triggered on click events.
@HamzaIsrar12 HamzaIsrar12 requested a review from k1rill February 24, 2025 14:35
@HamzaIsrar12 HamzaIsrar12 self-assigned this Feb 27, 2025
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