Closed tomasholderness closed 7 years ago
@ojha-url - not pretty but i added some examples of how to issue notifications in map.js and layers.js
Currently, we're redirecting unknown routes to the map. This works locally, but not on prod.
Longer term we need to better understand how to catch errors listed in #65 in Aurelia routing and redirect to an error page.
I could get cloudfront to redirect 404s to the map, however that would break the way I've got things set up for https://github.com/urbanriskmap/petabencana.id/issues/71
Hi @matthewberryman - yes we had that locally, but I think the redirects are confusing. I propose we aim for 404 pages, with a link <a>"Return to Map"</a>
. I'll try and sync with @mgvarley on this today.
@talltom, this got overwritten by some recent commit, i guess changes made to promise resolutions. Now there is no notification in case i enter an invalid report_id. Will look into it.
Map
Error 404 for random pagesCards
Wrong/incorrect OTL linkError on submission of completed card (i.e. at server end)