Search: Add setting that triggers running the instant search auto config.#15186
Search: Add setting that triggers running the instant search auto config.#15186
Conversation
This is an automated check which relies on |
mdbitz
left a comment
There was a problem hiding this comment.
Marking this Approved.
The endpoint tests out for me and does trigger the auto-config code. More testing is needed of the auto-config flows but I'm good with this moving ahead as the trigger.
@dereksmart @jeremeylduvall what do you think of this approach to triggering the auto-config?
AnnaMag
left a comment
There was a problem hiding this comment.
I'd suggest refactor to mimic the onboarding endpoint, the use of the widget library and improved error handling in the follow up. LGTM as a v1.
Adds a way to trigger the auto config of search so that we can have a smooth default onboarding experience.
I've only done minimal testing so far, but it did work. I'm also not sure this is the best way to go. I especially didn't retest some of the corner cases: https://github.com/Automattic/jetpack/blob/master/modules/search/class-jetpack-instant-search.php#L391
Testing:
Fast CL testing: