quickhac / qhac-ios

Native iOS app to allow checking of grades, based on the QuickHAC Chrome extension.
0 stars 0 forks source link

Spamming of Error 2000 #38

Closed patil215 closed 10 years ago

patil215 commented 10 years ago

This occurs repeatedly for many users when trying to load grades.

tristanseifert commented 10 years ago

This error occurs when the gradebook doesn't return a response, or returns invalid data. There's not much I can do about this one, as it's something AISD has to fix.

patil215 commented 10 years ago

I agree that it's usually something AISD involved; however, we (me and people in my computer programming class) were able to reproduce this on two separate days. In addition, we simultaneously used the same account to try to load grades on qhac-chrome, qhac-android, and directly accessing AISD Gradespeed and were able to do so without error. It may not be something you can control, however it many be worth looking into.

tristanseifert commented 10 years ago

How would we go about implementing a fix for this, though? I feel as if an endless loading loop is just bad user interface, as it might keep going because of a flaky network connection and potentially rapidly drain the user's battery.

Perhaps I can just add an indicator somewhere in the UI, perhaps as a little widget that appears under the navbar, that indicates that there was a problem communicating with the gradebook, similar to the "OFFLINE" label in qhac-chrome?

patil215 commented 10 years ago

A few things come to mind: -Maybe don't make the request infinitely, but try again a few more times or wait a few seconds and try again.

How would we go about implementing a fix for this, though? I feel as if an endless loading loop is just bad user interface, as it might keep going because of a flaky network connection and potentially rapidly drain the user's battery.

Perhaps I can just add an indicator somewhere in the UI, perhaps as a little widget that appears under the navbar, that indicates that there was a problem communicating with the gradebook, similar to the "OFFLINE" label in qhac-chrome?

Reply to this email directly or view it on GitHubhttps://github.com/quickhac/qhac-ios/issues/38#issuecomment-36806932 .