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

Remove URLs from suggestion search terms #2683

Closed

Conversation

alessandroboron
Copy link
Contributor

@alessandroboron alessandroboron commented Apr 5, 2024

Task/Issue URL: https://app.asana.com/0/414235014887631/1206836396714144/f

Description:

Removes URLs suggestions from the search term when typing on the address bar.

Steps to test this PR:

Type “face”, “ama” or “ace" on the address bar.
Expected Result: The search term suggestions should not include “www.facebook.com”, “www.amazon.com”, “www.acer.com/“

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

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

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • iOS 17

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template


return url
})
loader = SuggestionLoader(dataSource: self, urlFactory: URL.makeURL(fromSuggestionPhrase:))
Copy link
Contributor Author

@alessandroboron alessandroboron Apr 5, 2024

Choose a reason for hiding this comment

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

I thought to align iOS with macOS. I moved the URLFactory function into BSK/Suggestions and have iOS & macOS use the function without duplicating the/having similar code.

Copy link

This PR has been inactive for more than 7 days and will be automatically closed 7 days from now.

@github-actions github-actions bot added the stale label Apr 13, 2024
Copy link

This PR has been closed after 14 days of inactivity. Feel free to reopen it if you plan to continue working on it or have further discussions.

@github-actions github-actions bot closed this Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant