summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/SurveyPageResource.java
AgeCommit message (Collapse)Author
2013-10-20First stage of a major refactoring.Jesse Morgan
Question and Answer can now be serialized and deserialized to/from JSON. As such, I no longer have to pass awkward maps around. As part of this change I have introduced a Provider interface to abstract out loading and persisting these beans. The scoring logic has been completed factored out of SurveyResultsResource and into the various ScoringEngines. Tests have been added for Question, Answer, and the ScoringEngines. A bug has been fixed in computing the value for slider questions. The label identifiers in the circle questions have changed from all lower case to camel case. That is, topleft is now topLeft. Several issues have been corrected in the circle answers where the point values did not match the labels. Testing and code coverage support and reports have been added.
2013-09-17Fixing stuck progress bar when trump answers are selected.Jesse Morgan
2013-09-17Fixing question 4 to skip 4a in some cases.Jesse Morgan
For this fix I am moving Question and Answer from the backend into a new model package. Question is now used in SurveyPageResource instead of the Map. Eventually I should encode/decode the model from the json directly. I am adding support to the Question model to find the next question based on the answer to the current question. If the answer has a specific nextQuestion field, that is used. Otherwise the question's nextQuestion field is used. This is to facilitate skipping irrelevant questions.
2013-09-10Adding redirect page /account.Jesse Morgan
/account redirects to either the assessment or the training page, as appropriate. This change adds the /accounts/UID backend resource, which simply stores an arbitrary json document for now.
2013-09-09Adding the progress bar to the assessment.Jesse Morgan
Also adding a header to the Assessment Results page.
2013-09-05Moving Sessions to FMFacade. Adding transition from Assessment to Training.Jesse Morgan
2013-09-03Fixing the assessment to take the user to the question after the last ↵Jesse Morgan
answered question
2013-08-21Adding images, creating circle questions and misc. fixes.Jesse Morgan
2013-08-04Committing everything since its long overdue.Jesse Morgan
2013-06-09Configuration ChangesJesse Morgan
Fixing a bug in the config class and updating all templates and pages to use the dynamicRoot and staticRoot config values to prefix URLs.
2013-06-04Adding config support.Jesse Morgan
2013-06-03Adding the Survey page logic.Jesse Morgan