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

Quiz #1229

Open
wants to merge 210 commits into
base: master
Choose a base branch
from
Open

Quiz #1229

wants to merge 210 commits into from

Conversation

marvinrusinek
Copy link

@marvinrusinek marvinrusinek commented Jan 2, 2020

Hi Kirill,

I've added a quiz branch (https://github.com/marvinrusinek/codelab/tree/quiz). Please can you take a look at it and let me know if anything needs to be changed.

Marvin

still working on percentage issue - increments when all correct answers are selected from 75% to 100%, should just display 100% when component is loaded
Hey, I'm having a small bug on the ResultsComponent - seems to be incrementing the percentage from 75 to 100% when all the questions are answered correctly, should just show 100% and also 100% in the queryparams in the URL. Also the images are kind of slow to load.
This was referenced Jan 3, 2020
made some changes to the question container component
I think I fixed the issue where a navigation error occurs when ResultsComponent seems to navigate away back to quiz/question/id after a minute or so when id is greater than the totalQuestions.
Moved the percentage calculation to ngOnInit in ResultsComponent which fixes the issue of it updating. Will look into violation errors...
Moved the percentage calculation to ResultsComponent in ngOnInit. Will work on the violations...
used ceil function for elapsedTime and changed the calculateTotalElapsedTime function
added percent symbol inside href's in the challenge-social section
utilized API function to reduce the conditionals
removed comments and spacing
Changed from queryParams to state. Relevant data gets passed from containers\QuestionComponent to ResultsComponent via state object when navigating to results, resulting in clean URL for the /quiz/results route.
Changed from queryParams to state. Relevant data gets passed from containers\QuestionComponent to ResultsComponent via state object when navigating to results, resulting in clean URL for the /quiz/results route.
added more questions back so now there are 10 questions (to see how it works for testing purposes...)
added a dynamic accordion to ResultsComponent using ngx-bootstrap which opens one question at a time individually in an accordion-group tab
individual questions inside accordion can be expandable/collapsable with chevron up and down icons
added addElapsedTime function and used destructuring for elapsedTimes
added the addElapsedTime function and used destructuring for elapsedTImes array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants