icssc / AntAlmanac

A course exploration and scheduling tool for UCI Anteaters
https://antalmanac.com
MIT License
54 stars 64 forks source link

RFC: Detecting Websoc/API Failure #740

Closed KevinWu098 closed 7 months ago

KevinWu098 commented 11 months ago
Screenshot 2023-10-16 at 10 47 27 AM

TL;DR, the current method AA employs to trigger Skeleton Mode is the loading in of courses. But as you can see in the image above, that isn't a perfect solution since one endpoint could fail (GraphQL) while another (REST) is perfectly fine.

I briefly tried to tie the check to searching for courses in #702, but that was not a great solution.

Is there any comprehensive way to check whether or not Websoc/API has failed?

KevinWu098 commented 7 months ago

Going to close this, as the answer is roughly "no." Issue at hand isn't very large, and if a larger problem arises at some point, we can revisit this.