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 invalid OmniBar state transition on loading #3599

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Nov 20, 2024

Task/Issue URL: https://app.asana.com/0/1206226850447395/1208790263070149/f
Tech Design URL:
CC:

Description:

Caused by #3553.
Unnecessary text field clean was performed when OmniBarState changed the internal value of isLoading without changing the state kind. This caused suggestion tray controller with favorites to appear.

Steps to test this PR:

  1. Turn off automatic data clearing on app exit.
  2. Add at least one favorite.
  3. Open tab with some url address.
  4. Relaunch the app.
  5. Verify suggestions tray is not shown and favorites are not visible while the tab is loading.

Definition of Done (Internal Only):

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

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

Internal references:

Software Engineering Expectations
Technical Design Template

@dus7 dus7 changed the base branch from main to release/7.146.0 November 20, 2024 12:36
@dus7 dus7 requested a review from jaceklyp November 20, 2024 12:53
@dus7 dus7 changed the title Fix unnecessary OmniBar state transition on loading Fix invalid OmniBar state transition on loading Nov 20, 2024
Copy link
Contributor

@jaceklyp jaceklyp left a comment

Choose a reason for hiding this comment

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

reproduced on main and looks like it is fixed here, gj!

@dus7 dus7 merged commit f7be389 into release/7.146.0 Nov 20, 2024
36 checks passed
@dus7 dus7 deleted the mariusz/fix-search-focus-state branch November 20, 2024 14:43
samsymons added a commit that referenced this pull request Nov 21, 2024
…g-error

# By Mariusz Śpiewak (4) and others
# Via GitHub (1) and Mariusz Śpiewak (1)
* main:
  Re-prompt for crash reporting (#3595)
  Fix running BoolFileMarkerTest on device (#3601)
  Run Sync e2e tests only on latest version (#3602)
  Release 7.146.0-1 (#3600)
  Fix autofill search authentication looping (#3598)
  Fix invalid OmniBar state transition on loading  (#3599)
  Update autoconsent to v11.5.0 (#3581)
  Release 7.146.0-0 (#3594)
  deps: Bump CSS@6.36.0 and BSK@211 (#3588)
  Update subtitle (#3592)
  Limits TipKit availability to iOS 18+ (#3589)
  Fix alpha build compilation (#3584)
  Update VPN auth token check logic (#3585)
  Fix button shapes on New Tab Page (#3586)
  Temporarily disable TipKit (#3564)

# 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