HULKs / moments

0 stars 0 forks source link

Robustify frontend #2

Closed h3ndrk closed 9 months ago

h3ndrk commented 11 months ago

Several errors in the frontend result in stopping to reveal more images. The frontend should behave more robust but carrying on showing images and maybe marking images as failing (to prevent retries).

h3ndrk commented 9 months ago

Errors are logged to the JavaScript console and the background of the site is changed to red (to indicate errors). Errors loading images lead to disabling them in the recommender implicitly. Errors selecting rows and image addition locations lead to retrying at another position randomly. Images with large widths and small heights may still lead to problems on screens with small widths and large heights, but we will intentionally not solve that now.