Skip to content
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

KG - Survey Dependency Bugs / Updates #295

Merged
merged 9 commits into from May 30, 2017

Conversation

kayla-glick
Copy link

@kayla-glick kayla-glick commented May 26, 2017

Pivotal Story:
https://www.pivotaltracker.com/story/show/145965119

Updates:

  1. I updated how options are handled by questions. Currently they are not properly created/deleted for each question type. I updated it so that when changing a question type, existing options are removed. Also, if changing to a Yes/No question, because you don't add options manually, the model creates the options.

  2. Fixing Liker scale so that it works correctly when selected as a depender question.

  3. I updated the dependents dropdown to only include questions that come before the current question.

  4. I updated the javascript that rerenders the dependents dropdowns. Instead of using an AJAX success with a JSON return, I simply rerender the corresponding partials using a javascript template.

@Stuart-Johnson
Ignore the commit pivotal IDs. I accidentally had the wrong story open and used the wrong IDs.

@Stuart-Johnson Stuart-Johnson merged commit 792cc2f into master May 30, 2017
@Stuart-Johnson Stuart-Johnson deleted the kg-survey_dependency_bug branch May 30, 2017 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants