MoralCode / ClassClock

ClassClock is a free, easy-to-use web app for K-12 schools that provides an at-a-glance view of the school schedule
https://web.classclock.app
GNU Affero General Public License v3.0
33 stars 4 forks source link

Blank screen displayed after browsing data cleared #34

Open MoralCode opened 10 months ago

MoralCode commented 10 months ago

Describe the bug ClassClock displays a blank white screen after browsing data (specifically local storage) is cleared

To Reproduce Steps to reproduce the behavior:

  1. Go to classclock and select a school if you havent already
  2. open inspect element to the "storage" tab
  3. under "local" storage, delete all the data
  4. Refresh classclock page. Observe error

Expected behavior an error screen, or more ideally, ClassClock defaults to the select a school screen

Desktop (please complete the following information):

Additional context SENTRY id: CLASSCLOCK-4

MoralCode commented 10 months ago

Possibly also related to iOS behavior in relation to low memory or tracking prevention: https://stackoverflow.com/a/68088083/