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

Update Overlay Pixel implementation #3701

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

afterxleep
Copy link
Collaborator

@afterxleep afterxleep commented Dec 9, 2024

Task/Issue URL: https://app.asana.com/0/1204099484721401/1208910025199824/f
Tech Design URL:
CC:

Description:
Refactors Overlay Pixels to use WebKit KVO and backForward lists for improved reliability

Steps to test this PR:

  1. Filter the console messages for "Pixel fired."
  2. Go to Youtube.com
  3. Search for MKBHD
  4. Select a video
  5. Hit Back
  6. Confirm duckplayer.youtube.overlay.navigation.back pixel fires
  7. Select another video
  8. Hit Refresh
  9. Confirm duckplayer.youtube.overlay.navigation.refreshpixel fires
  10. Navigate to other Youtube video suggestion
  11. Confirm duckplayer.youtube.overlay.navigation.within-youtube
  12. Visit another website (i.e. example.com)
  13. Confirm duckplayer.youtube.overlay.navigation.outside-youtube fires

Smoke test going to/from videos and confirm pixels fire as expected.

@afterxleep afterxleep requested a review from Bunn December 9, 2024 20:18
Copy link
Contributor

@Bunn Bunn left a comment

Choose a reason for hiding this comment

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

LGTM, got all pixels fired
Pixel fired duckplayer.youtube.overlay.navigation.back
Pixel fired duckplayer.youtube.overlay.navigation.refresh
Pixel fired duckplayer.youtube.overlay.navigation.within-youtube
Pixel fired duckplayer.youtube.overlay.navigation.outside-youtube

@afterxleep afterxleep merged commit 41b434c into main Dec 9, 2024
13 checks passed
@afterxleep afterxleep deleted the daniel/overlayPixelUpdates branch December 9, 2024 23:11
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