CorrelAid / correlaid_website

Source code for the CorrelAid website
https://correlaid.org
3 stars 0 forks source link

Improve error handling #24

Closed jstet closed 11 months ago

jstet commented 1 year ago
jstet commented 1 year ago
KonradUdoHannes commented 1 year ago

Currently missing fields on the CMS side can cause the site not to function at all.

As a concrete example we had the case that ctas on navbar.home where missing a text entry, which caused the top level +layout.svelte to crash on parsing. We should

jstet commented 1 year ago

connected to #23

jstet commented 12 months ago

see https://correlaid-website.vercel.app/daten_nutzen/projekte/test/

KonradUdoHannes commented 11 months ago

After #295 the only components for which explicit parsing is not done yet are Html, Link_Button, TextContainer and Hero. The use of these components is a little more generic and it might be difficult to fit all into the same pattern as the previously refactored components. After an initial analysis, any parsing of these components should be moved to a separate task if it has to be treated differently in a substantial way.

KonradUdoHannes commented 11 months ago

The previous comment should now refer to #296, because there was a merge issue (wrong branch) and #295 was thrown away post merge.

jstet commented 11 months ago

I would say error handling was improved and we have or can open sep. issues for further improvements