-
Notifications
You must be signed in to change notification settings - Fork 3
]CSL-2874] A/b test search suggestion variants #89
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
]CSL-2874] A/b test search suggestion variants #89
Conversation
| displaySearchTermHighlights?: boolean; | ||
| } | ||
|
|
||
| export function getSearchSuggestionFeatures(request: Partial<AutocompleteRequestType>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this need to be part of the hooks logic and we only expose the features as a state returned form the hooks instead of exposing the utility function for consumers of the library to use it to get the features. And we do call getSearchSuggestionFeatures internally instead and expose smth like this in the hook response
featureToggles: {
featureDisplaySearchSuggestionImages,
featureDisplaySearchSuggestionResultCounts,
}
@esezen what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense. @stanlp1 anything against this approach?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, Islam mentioned this to me, I suggested tagging you as the decision maker 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the changes! This is looking pretty good
Just left small comments and lets get a second eye
mocca102
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the changes @stanlp1 🚀
esezen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…ts-in-autocomplete-os-ui
esezen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stanlp1 I thought tests are failing on main at first but they seem to be passing there. Would you be able to check why they are failing here?
Looks like the changes I made to resolve the failing tests 3 weeks ago don't work anymore. Reverted 👍 |
No description provided.