alexf4 / PrepIt

0 stars 0 forks source link

Create UX for question Drilldown view #94

Closed alexf4 closed 8 years ago

alexf4 commented 8 years ago

Hey Clancy, I dont think we have the ux for what happens when a teacher clicks on a question from a list.

Let me know if we have captured this somewhere.

clancym86 commented 8 years ago

For the list on the dashboard it would be great if it could show the question, choices, and the % of times each has been chosen. I don't know if it would be easier to be taken to another page when clicked or what. We could just use the free play look. screen shot 2016-01-23 at 12 57 23 pm

alexf4 commented 8 years ago

Thanks for the work, I'll start the work now.

alexf4 commented 8 years ago

Backend work completed:

Cody - I have made a method in dbFunctions called getQuestionData(userID, questionText)

it returrns :

{ baseQuestionID: '55b13ceb89484e1300065788', correctAttempts: 1, incorrectAttempts: 1, numberOfAttempts: 2, __v: 0, category: 'Public Policy', subcategory: 'The role of linkage institutions in the policy making process', questionText: 'Iron triangles ensure that interest groups...', solution: 'b', correct: false, _id: 5684903dab13621200fe3654, comprehension: { mastered: false, intermediate: false, novice: true }, responses: { d: 0, c: 0, b: 1, a: 1 }, answers: { d: 'Exert unrestrained control over the shaping of public policy', c: 'Are held accountable for their campaign contributions by forcing them to report donations with the FEC', b: 'Influence public policy through industry information and campaign contributions to congressional subcommittees', a: 'Have limited influence on the implementation of public policy' } }

alexf4 commented 8 years ago

code is merged into mainline

tjmcdona commented 8 years ago

That is a really cool idea. Hope it can be done.

On Sat, Jan 23, 2016 at 1:00 PM, clancym86 notifications@github.com wrote:

For the list on the dashboard it would be great if it could show the question, choices, and the % of times each has been chosen. I don't know if it would be easier to be taken to another page when clicked or what. We could just use the free play look. [image: screen shot 2016-01-23 at 12 57 23 pm] https://cloud.githubusercontent.com/assets/11487766/12532113/3545801c-c1d1-11e5-9467-7f1b22fc4ba3.png

— Reply to this email directly or view it on GitHub https://github.com/alexf4/PrepIt/issues/94#issuecomment-174212533.

TJ McDonald http://prepit.io 919-824-2922