Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

App gets stuck after correct answer in Reviews #51

Closed
squasheds opened this issue Sep 6, 2017 · 12 comments
Closed

App gets stuck after correct answer in Reviews #51

squasheds opened this issue Sep 6, 2017 · 12 comments

Comments

@squasheds
Copy link

squasheds commented Sep 6, 2017

Running the latest Alpha version.

Sometimes, after correctly answering a Reading question and clicking to go on, its answer seems to be dragged into the next question, which becomes un-answerable and un-skipable. Once this happens, it is imposible to go forward (sacrificing the current question) because the > arrow won't do anything, only going back by pressing Home or <- arrow is posible. It has happened about five times since installing the Alpha a couple of days back.

In this case, previous question was "ganmen" and, I believe, this reading was "tombstone" (or whatever it might have been XD). As can be seen, to to and ne were added to the previous "ganmen" as I tried to answer this new question.

screenshot_2017-09-05-23-28-04

@xiprox
Copy link
Owner

xiprox commented Sep 6, 2017

I'm aware. It's been happening to me as well and it's annoying as hell. Pretty sure it was introduced with #49. Haven't had the time to look into it yet though.

@xiprox
Copy link
Owner

xiprox commented Sep 6, 2017

@Aralox If you have an idea or could tackle this anytime soon, that'd be great.

@Aralox
Copy link
Contributor

Aralox commented Sep 6, 2017

I'll have a look tomorrow after work (2245 at the moment)

@Aralox
Copy link
Contributor

Aralox commented Sep 7, 2017

Submitted a PR (#52). It's a pretty simple bug which I should have found before submitting my last pull request - my bad.

I had to create a new WaniKani account to test reviewing radicals, as I have too many vocab reviews on my main account. I've not tested the exact scenario you described @squasheds, as I don't have any reading reviews available yet. I'm fairly confident it only happens for radicals, but please try out the fix and let me know anyway. I'll verify it once I unlock some kanji on my new account :).

@xiprox, how would you like pull requests to be done? I just made my change on the master branch and committed, but do you prefer if I made a new branch for any changes?

Also, could you please mention in the readme that to compile the project, we have to create a google-services.json file from https://developers.google.com/mobile/add and add it to the WaniKani folder inside the repo (this also seems to be why the CI is crashing at the moment).

@xiprox
Copy link
Owner

xiprox commented Sep 7, 2017

I'll be taking a look at the #52 shortly.

And yes, on-topic names for branches would probably be nice.

@squasheds
Copy link
Author

Has the fix been implemented in the available beta at playstore? I downloaded it three days ago and there has been no new update. I just had the bug happen twice again today when going from a reading question to a radical one. Yesterday it also happened when going from a meaning question though I dont remember to which kind of question it crossed.

@xiprox
Copy link
Owner

xiprox commented Sep 7, 2017

@squasheds The change is now up on the alpha track on the Play Store. I haven't been able to test it myself, so can't say if it works for sure.

@madmalkav
Copy link

App updated 3 hours ago, problem persist on my phone. Any debug log or other info I can contribute?

@xiprox
Copy link
Owner

xiprox commented Sep 8, 2017

I just did around 40 reviews in different batches and had no occurrences of this issue. In contrast, reverting #52 brings back the error even with only a few reviews.

@madmalkav Are you sure you are on the latest alpha, again? I just promoted alpha to beta though, so you should get it there in a bit anyway. EDIT: It's now live in the beta.

@madmalkav
Copy link

madmalkav commented Sep 8, 2017 via email

@xiprox
Copy link
Owner

xiprox commented Sep 8, 2017

Ok. I take it that it's solved for you as well now? Guess this issue can be closed.

@xiprox xiprox closed this as completed Sep 8, 2017
@madmalkav
Copy link

madmalkav commented Sep 8, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants