Corona-tracker
Corona-tracker copied to clipboard
Swiping fast on quiz cards messes up score
Prerequisites
- [x] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in QA
- Followed all applicable steps in the TROUBLESHOOTING guide: TODO
- Checked for relevant discussions on Discord: https://discord.gg/pPERUuv
- Checked that your issue isn't already filed: https://github.com/COVID-19-electronic-health-system/Corona-tracker/issues
Description
Swiping really fast on the quiz messes up the score, and it feels like there is a disconnect between the swiping action and the score count.
Steps to Reproduce
- Open the quiz
- Swipe really fast left and right
- Observe the score count
- Repeat
Expected behavior:
I expected my score to increment as fast as I cleared the cards from the screen then stop at 7 for the total number of cards.
Actual behavior:
The score kept going based on the number of swipes.
Reproduces how often:
75% (or maybe I'm just not swiping fast enough)
Additional Information
Capping the score to to the total number of cards may be a quick fix.
This happens when you keep your fingers almost always on the screen and swipe as fast as you could. I don't think a lot of users will do that, never the less it is a bug. It is because the score count depends on the position of the card x
and when it passes a certain point the function for adding the score triggers but you still pressing on the card it does not go away, that's what I think. I tried to find a fast fix now but no luck I need to look more
I talked to @SomeMoosery about the whole cards thing and we agreed we will look into it after the beta
@AdhamAH Thank you for looking into this! I do agree it's rare but a user may "play" with them after doing it once or twice as I did and discover the bug.
I was also thinking there should be an "end game" screen that shows at least how you did, "You answered 3/7 correctly", maybe a grade based on percentage.