managarten/packages/shared-ui/src/toast
Till-JS cdac341882 ♻️ refactor: centralize global error handler in shared-ui
Extract setupGlobalErrorHandler() utility from contacts app and add to
@manacore/shared-ui. Migrate 7 apps to use the shared implementation:
calendar, chat, clock, contacts, matrix, picture, storage.

Features:
- Catches unhandled promise rejections with error classification
- Handles offline/online network status changes
- Built-in i18n (DE + EN) with customizable translations
- Optional onAuthError callback for redirect handling
- Returns cleanup function for proper unmounting
2026-01-29 15:17:17 +01:00
..
globalErrorHandler.ts ♻️ refactor: centralize global error handler in shared-ui 2026-01-29 15:17:17 +01:00
index.ts ♻️ refactor: centralize global error handler in shared-ui 2026-01-29 15:17:17 +01:00
toast.svelte.ts refactor(shared-ui): centralize toast system across all web apps 2026-01-29 14:03:29 +01:00
ToastContainer.svelte refactor(shared-ui): centralize toast system across all web apps 2026-01-29 14:03:29 +01:00