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

Prevent showing favorites suggestion tray when opening DuckPlayer #3622

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Nov 26, 2024

Task/Issue URL: https://app.asana.com/0/1203249713006009/1208838384448084/f
Tech Design URL:
CC:

Description:

When opening DuckPlayer in New Tab, we're going through multiple states of OmniBar, one of which is attempting to clear the URL field. This is causing the controller to show up. However it should not appear, since the URL Text Field is not being edited.

⚠️ I wasn't able to reproduce this on Simulator 100%. Had more luck on a device.

Steps to test this PR:

  1. Add at least one Favorite.
  2. Search for YouTube video in the SERP (e.g. "youtube duck").
  3. Make sure DuckPlayer is set to "ask every time".
  4. When prompted open video in DuckPlayer.
  5. DP should open in new tab (if the setting is enabled), favorites should not.

Definition of Done (Internal Only):

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Internal references:

Software Engineering Expectations
Technical Design Template

@dus7 dus7 changed the base branch from main to release/7.147.0 November 26, 2024 14:45
@dus7 dus7 changed the title Prevent showing favorites suggestion tray when not editing URL Prevent showing favorites suggestion tray when switching to DuckPlayer Nov 26, 2024
@dus7 dus7 changed the title Prevent showing favorites suggestion tray when switching to DuckPlayer Prevent showing favorites suggestion tray when opening DuckPlayer Nov 26, 2024
@Bunn Bunn self-requested a review November 26, 2024 14:46
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.

Tested before and after the fix, LGTM

@dus7 dus7 merged commit 230a3d1 into release/7.147.0 Nov 26, 2024
47 checks passed
@dus7 dus7 deleted the mariusz/fix-duck-player branch November 26, 2024 17:32
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