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

Duckplayer New Tab + Refactor #3491

Merged
merged 35 commits into from
Nov 1, 2024
Merged

Conversation

afterxleep
Copy link
Collaborator

@afterxleep afterxleep commented Oct 27, 2024

Task/Issue URL: https://app.asana.com/0/1204099484721401/1208366641490350/f

Description:

  • Refactors DuckPlayerNavigation handler for improved navigation and stability
  • Implements Open In New Tab Behavior
  • Opens "Watch in Youtube" links in new tab by default
  • Fixes issues found in Open in New tab closed ship review
  • Improves navigation for "Default" mode to prevent full screen videos (https://app.asana.com/0/1204099484721401/1208528683217627/f)
  • Updates pixel logic
  • Removes DuckPlayer Launch Experiment logic and pixels

ℹ️ Don't be fooled by the number of changes. Besides the new tab setting, these are primarily small code improvements across the feature and lots of documentation around DuckPlayer itself.

Steps to test this PR:

  • Smoke test Duck Player
  • Make yourself internal user
  • Confirm DuckPlayer "Open in new tab" is present in Duck Player settings
  • Smoke test DuckPlayer. Confirm YouTube links open in new tab
  • Test pixels fire up correctly, as follows:

  • Launch the app, Set DuckPlayer to 'Always'
  • Hit Fire Button
  • Search for Metallica videos
  • Confirm duckplayer.view-from.serp is fired

  • Hit Fire Button
  • Go to youtube.com
  • Search for metallica
  • Tap a video
  • Confirm Pixel fired duckplayer.view-from.youtube.automatic is fired


Copy link

github-actions bot commented Oct 27, 2024

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.
Messages
📖

You seem to be updating localized strings. Make sure that you request translations and include translated strings before you ship your change. See Localization Guidelines for more information.

Generated by 🚫 dangerJS against acbe25b

@afterxleep afterxleep marked this pull request as ready for review October 28, 2024 09:07
@afterxleep afterxleep requested a review from Bunn October 28, 2024 09:08
# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/DuckPlayer/DuckPlayer.swift
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 besides the issues mentioned in the task which are not related to this PR itself

@afterxleep afterxleep merged commit 0243794 into main Nov 1, 2024
13 checks passed
@afterxleep afterxleep deleted the daniel/duckplayer.refactor.new.tab branch November 1, 2024 10:30
samsymons added a commit that referenced this pull request Nov 1, 2024
…the-os

# By Daniel Bernal (6) and others
# Via Daniel Bernal (4) and Michal Smaga (1)
* main:
  Update build number
  Update build number
  Bump rexml from 3.3.8 to 3.3.9 (#3495)
  Release 7.142.1-1 (#3525)
  Add a debouncer to NavBars animator (#3519)
  Release 7.143.0-1 (#3516)
  Update to subscription cookie (#3512)
  Bug Fix: Phishing Detection Dataset Discrepancies (#3469)
  Duckplayer New Tab + Refactor (#3491)
  Blind attempt to fix Omnibar-related crash (#3514)
  Fix VPN server info metadata (#3501)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request Nov 4, 2024
# By Daniel Bernal (6) and others
# Via Daniel Bernal (3) and others
* main: (21 commits)
  Validate VPN errors before re-throwing them (#3513)
  Allowing users to delete suggestions on macOS (#3465)
  Update build number
  Update build number
  Bump rexml from 3.3.8 to 3.3.9 (#3495)
  Release 7.142.1-1 (#3525)
  Add a debouncer to NavBars animator (#3519)
  Release 7.143.0-1 (#3516)
  Update to subscription cookie (#3512)
  Bug Fix: Phishing Detection Dataset Discrepancies (#3469)
  Duckplayer New Tab + Refactor (#3491)
  Blind attempt to fix Omnibar-related crash (#3514)
  Fix VPN server info metadata (#3501)
  Set version_check_wait_retry_limit to 1 (#3511)
  BSK changes for macOS release note screen update (#3466)
  Onboarding Add to Dock Promo view (#3505)
  Update BSK with autofill 15.1.0 (#3507)
  Update tests to use new tagline (#3439)
  adding impression pixels for duckplayer in landscape mode (#3493)
  Update autoconsent to v10.17.0 (#3504)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
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