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

Add bookmarks to top hits suggestions on iOS #2835

Merged
merged 3 commits into from
May 9, 2024

Conversation

brindy
Copy link
Contributor

@brindy brindy commented May 8, 2024

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

Description:
Adds bookmarks to top hits for iOS.

Steps to test this PR:
See duckduckgo/BrowserServicesKit#812

@brindy brindy self-assigned this May 8, 2024
@github-actions github-actions bot added bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project and removed bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project labels May 8, 2024
@brindy brindy marked this pull request as ready for review May 8, 2024 14:20
Copy link
Contributor

@tomasstrba tomasstrba left a comment

Choose a reason for hiding this comment

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

LGTM! ✅

Just a minor thing: The first row appears to be visually off. Not sure if this is intended or not.
Snímka obrazovky 2024-05-09 o 9 22 42 AM

brindy added a commit to duckduckgo/BrowserServicesKit that referenced this pull request May 9, 2024
Required:

Task/Issue URL: https://app.asana.com/0/0/1207251449708624/f
iOS PR: duckduckgo/iOS#2835
macOS PR: duckduckgo/macos-browser#2754
What kind of version bump will this require?: Major/Minor/Patch

Optional:

Tech Design URL:
CC:

Description:

Bookmarks are added to top hits on iOS, but the behaviour is unchanged on macOS.

Steps to test this PR:

iOS

On iOS launch the app (use the md variant by editing the scheme > run > check environment variable VARIANT is md and enabled
Add some bookmarks
Start typing in the address bar
The bookmarks should appear in the top hits section (ie at the top of the suggestions list)
Check that launching the app clean with no variant still works as expected.
macOS

Launch the app and confirm that suggestions works as it did previously. ie Bookmarks should not be in top hits unless they have been visited several times.
@brindy
Copy link
Contributor Author

brindy commented May 9, 2024

Thanks @tomasstrba - that's all being updated in my current project anyway.

@brindy brindy merged commit 89b9951 into main May 9, 2024
20 checks passed
@brindy brindy deleted the brindy/ios-specific-suggestion-logic branch May 9, 2024 11:08
samsymons added a commit that referenced this pull request May 9, 2024
* main:
  Upload logs on cancel (#2836)
  Add bookmarks to top hits suggestions on iOS (#2835)
  Fix Maestro reporting for e2e tests (#2713)
  support marketplace kit (#2833)
  Enable attribution flag (#2825)
  Release 7.119.0-0 (#2831)
  Fix subscriptions glitch in Settings (#2828)
  Delegate SecureVault KeyStore Events in All Scenarios  (#2827)
  Clears subscription cache on restore (#2823)
samsymons added a commit that referenced this pull request May 10, 2024
# By amddg44 (3) and others
# Via GitHub (1) and amddg44 (1)
* main:
  Enable gzip compression for Sync PATCH payloads (#2805)
  sync error notify (#2822)
  Wire up VPN error UI (#2826)
  Mergeback from release/7.119.0
  Release 7.119.0-1 (#2840)
  Add temporary survey to Passwords screen (#2834)
  Upload logs on cancel (#2836)
  Add bookmarks to top hits suggestions on iOS (#2835)
  Fix Maestro reporting for e2e tests (#2713)
  support marketplace kit (#2833)
  Enable attribution flag (#2825)
  Release 7.119.0-0 (#2831)
  Fix subscriptions glitch in Settings (#2828)
  Delegate SecureVault KeyStore Events in All Scenarios  (#2827)
  Clears subscription cache on restore (#2823)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request May 13, 2024
* main: (27 commits)
  Release 7.120.0-0 (#2846)
  Enable gzip compression for Sync PATCH payloads (#2805)
  sync error notify (#2822)
  Wire up VPN error UI (#2826)
  Mergeback from release/7.119.0
  Release 7.119.0-1 (#2840)
  Add temporary survey to Passwords screen (#2834)
  Upload logs on cancel (#2836)
  Add bookmarks to top hits suggestions on iOS (#2835)
  Fix Maestro reporting for e2e tests (#2713)
  support marketplace kit (#2833)
  Enable attribution flag (#2825)
  Release 7.119.0-0 (#2831)
  Fix subscriptions glitch in Settings (#2828)
  Delegate SecureVault KeyStore Events in All Scenarios  (#2827)
  Clears subscription cache on restore (#2823)
  Enable field validation for Sync payloads (#2807)
  Fix up address bar spoofing tests to match new behaviours. (#2743)
  Release 7.118.0-4 (#2821)
  Settings: onAppear changed to onDisappear (#2817) (#2820)
  ...
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