Bug/gh issues fiz (#1103)

* refactor: optimize page loading and data fetching

* fix: resolve recurring production runtime errors

* feat: add MCP company and customer updates

* fix: handle year-end tax adjustments

* feat: harden annual report compliance

* fix: expand invoice logo and font support

* fix: sanitize API route error responses

* fix: sanitize user-facing error messages

* feat: persist onboarding and tax assessment notices

* fix: reduce cloud backup audit churn

* feat: refine invoice editor layout

* fix: show saved tax adjustments in INK2

* fix: complete annual report API mappings

* docs: record operational safeguards and decisions

* fix: harden annual report review findings

* fix: adjust column span for description based on VAT registration

* New css class name
This commit is contained in:
Mattsson
2026-07-21 23:00:15 +02:00
committed by GitHub
parent 702512437a
commit e11f70b347
467 changed files with 17569 additions and 2221 deletions
@@ -16,6 +16,7 @@ import { useToast } from '@/components/ui/use-toast'
import { AlertTriangle, Check, Copy, Loader2, RefreshCw, Trash2 } from 'lucide-react'
import { formatDateLong } from '@/lib/utils'
import type { CompanyInboundDomain, InboundDomainDnsRecord } from '@/types'
import { getErrorMessage as getUserErrorMessage } from '@/lib/errors/get-error-message'
const BASE = '/api/extensions/ext/invoice-inbox/inbox/domain'
@@ -83,7 +84,7 @@ export default function InboxCustomDomainDialog({ open, onOpenChange }: Props) {
} catch (err) {
toast({
title: 'Kunde inte lägga till domänen',
description: err instanceof Error ? err.message : 'Försök igen.',
description: err instanceof Error ? getUserErrorMessage(err) : 'Försök igen.',
variant: 'destructive',
})
} finally {
@@ -106,7 +107,7 @@ export default function InboxCustomDomainDialog({ open, onOpenChange }: Props) {
} catch (err) {
toast({
title: 'Kontrollen misslyckades',
description: err instanceof Error ? err.message : 'Försök igen.',
description: err instanceof Error ? getUserErrorMessage(err) : 'Försök igen.',
variant: 'destructive',
})
} finally {
@@ -127,7 +128,7 @@ export default function InboxCustomDomainDialog({ open, onOpenChange }: Props) {
} catch (err) {
toast({
title: 'Borttagningen misslyckades',
description: err instanceof Error ? err.message : 'Försök igen.',
description: err instanceof Error ? getUserErrorMessage(err) : 'Försök igen.',
variant: 'destructive',
})
} finally {