Closed chuckharmston closed 8 years ago
@chuckharmston Looking at this PR, it appears that the commit 957c823f
adds 442 lines and removes 216. This makes it a nearly exact, but not exact, copy-paste of the original commit from pull request #261, which added 440 lines, and removed 211. Could you either revert the original commit and add a separate commit to change those 5-10 lines, or document in this PR which lines were changed?
I don't understand the variant code at a glance, I'll test it out and add review comments tomorrow morning.
As I noted on IRC, 957c823f is a revert commit with a few conflicts fixed in lib/universal-search.js
.
@chuckharmston Cool. And what was wrong with the other A/B PR? Was it not working?
@6a68 It wasn't, as I noted here. At the very least the order of the arguments here is wrong, but correcting that still didn't fix it. I'm not sure how you ever had it working at all.
Since you weren't available for questions, I started mostly from scratch, using code I wrote for one of the example add-ons as a base.
Cool. Too bad the old PR wasn't working. Looking now
@chuckharmston Nice work! I do see movie cards when I correct that variants.useMovieCard
line, and manually set universalSearch.variants.movieCard = true
.
Edited: after pulling in that latest recommendation server commit, I'm now seeing images. They are arriving rather late, but hopefully the image proxy will help when this actually hits production.
Feel free to land this one the variants check is fixed.
@chuckharmston Since you're on a flight, and we want QA to look at this as soon as possible, I went ahead and changed that one line in ui/recommendation.js from variants.useMovieCard
to variants.movieCard
, and force-pushed to your branch. Merging.
This reinstates the movie cards commit
without A/B testing, with two required fixes and A/B testing.r? @6a68