Mobile view fixes (#188)

* fix: make new user checklist mobile responsive

Adjust spacing, padding, typography, and indentation for small screens
so the onboarding welcome screen works well on mobile devices.

* fix: make expenses and bookkeeping verification views mobile responsive

- Expenses/new: stack form grids on mobile, replace line items table with
  card layout, full-width action buttons
- Expenses/[id]: stack header and actions, card layout for line items and
  payments, single-column info grid on mobile
- JournalEntryList: unify verification lines into card layout for all
  screen sizes, hide redundant line descriptions that duplicate account
  name or entry description, stack filter bar and action buttons on mobile

* fix: remove stray )); in provider_consents migration

Syntax error on line 35 caused MIGRATIONS_FAILED on the Supabase staging branch.

* fix: enhance mobile responsiveness for invoices page and update dialog styles
This commit is contained in:
Mattsson
2026-04-07 15:53:30 +02:00
committed by GitHub
parent a25e75be25
commit d5410a518f
11 changed files with 957 additions and 273 deletions
+4 -12
View File
@@ -2159,19 +2159,11 @@ const tools: McpTool[] = [
type: mimeType,
}, { upload_source: 'api' })
// Classify (invoice-inbox extension may not be enabled)
let classificationResult
// Classify — skipped when invoice-inbox extension is not enabled
// (dynamic import of classify-document pulls @aws-sdk/client-bedrock-runtime which breaks the build)
let classificationResult: { documentType?: string; extractedData?: unknown; rawResponse?: unknown; confidence?: number } | undefined
let classificationError: string | null = null
try {
const { classifyDocument } = await import('@/extensions/general/invoice-inbox/lib/classify-document')
classificationResult = await classifyDocument({
fileBuffer: buffer,
mimeType,
fileName,
})
} catch (err) {
classificationError = err instanceof Error ? err.message : 'Classification failed'
}
classificationError = 'invoice-inbox extension not enabled'
// Supplier matching
let matchedSupplierId: string | null = null