ramp4-pcar4 / story-ramp

Storytelling with interactive maps using RAMP
MIT License
4 stars 14 forks source link

Better error handling when loading a dead Storylines product #405

Closed dan-bowerman closed 5 months ago

dan-bowerman commented 7 months ago

Better error handling of an invalid Storylines product would be useful.

The as-is: loading a bunk Storylines ID just leads to an infinite loading spinner. Libraries download but otherwise nothing happens. The user might be expecting something to load, unaware that they're accessing a bad URL.

Example: https://environmental-maps.canada.ca/RAMP-Storylines/index-ca-en.html#/en/asdf

It would be great if we could simply display a broken link, a message that the Storylines product couldn't be loaded, something to that affect.

dan-bowerman commented 7 months ago

Previous efforts on this may have been made and lost?