Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Change For You algorithm to use quiz responses#100

Open
tgomezzzz wants to merge 3 commits into
personalize-foryou-trendingfrom
quiz-foryou
Open

Change For You algorithm to use quiz responses#100
tgomezzzz wants to merge 3 commits into
personalize-foryou-trendingfrom
quiz-foryou

Conversation

@tgomezzzz

Copy link
Copy Markdown
Contributor

This PR changes the For You algorithm to filter recipes based on the user's preferences. It also changes the default behavior to display Trending algorithms, in case there are errors getting the user's data.

@tgomezzzz
tgomezzzz requested review from Rmoneygit and angplee August 3, 2020 03:40
Comment thread src/main/webapp/script.js
function getRecipeInfo() {
var url = window.location.href;
var key = url.split('?')[1];
var key = url.split('=')[1];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would caution against this!! Maybe just use getURLParams

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants