Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

@diegoreymendez
Copy link
Contributor

Improvements to SearchTableViewCell.swift:

  • Adds a liveSearch property that adds support for immediate / live searches. This property defaults to false to try to avoid affecting existing code.
  • Adds an allowSpaces property that adds support for stripping whitespaces from the user's input. This property defaults to false to try to avoid affecting existing code.

Testing:

To test this, use the WordPress iOS PR.

  1. Start the domain registration flow.
  2. In the domain suggestions screen, start typing with the device keyboard.
  3. Try typing spaces in different parts of the search text.
  4. Try clearing the field.

Make sure you can't input whitespaces. Make sure live searches work as expected.

Associated PRs:

WordPress iOS PR: wordpress-mobile/WordPress-iOS#17266

@diegoreymendez diegoreymendez self-assigned this Oct 5, 2021
@diegoreymendez diegoreymendez added the enhancement New feature or request label Oct 5, 2021
Copy link
Contributor

@frosty frosty left a comment

Choose a reason for hiding this comment

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

Works for me! Just one small query here, up to you if you want to tweak it :) Don't forget to bump the podspec version.

@frosty frosty self-requested a review October 6, 2021 09:04
@diegoreymendez diegoreymendez merged commit 1b31c77 into develop Oct 6, 2021
@diegoreymendez diegoreymendez deleted the wordpress/17240-make-the-domain-instantaneous branch October 6, 2021 14:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants