feat: enhance report management and PDF generation capabilities
Deploy Development / deploy (push) Successful in 1m5s
Build Test / pytest-backend (push) Successful in 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 20s

- Introduced new API endpoints for managing report definitions, including listing, creating, and updating reports.
- Updated the frontend to include a dedicated section for configuring reports, enhancing user navigation and experience.
- Modified existing components to link to the new report settings, ensuring seamless access to report functionalities.
- Improved the report catalog API to support multiple definitions per profile and added validation for report limits.
- Updated documentation and tests to reflect the new features and ensure proper functionality.
This commit is contained in:
Lars committed 2026-04-29 12:11:26 +02:00
1 parent 3ab5dae130
commit ed2b457da3
8 files changed
+918 -493

No files matched your search

@@ -1,4 +1,4 @@
import { useState } from 'react'
import { Link } from 'react-router-dom'
import dayjs from 'dayjs'
import { FileDown } from 'lucide-react'
import { useAuth } from '../../context/AuthContext'
@@ -64,8 +64,11 @@ export default function ReportExportWidget({ reportExportConfig }) {
<div data-dashboard-pdf-exclude="true">
<p style={{ fontSize: 12, color: 'var(--text3)', marginTop: 14, lineHeight: 1.55 }}>
<strong>Layout-Schnappschuss:</strong> Die sichtbare Übersicht wird im Browser gerastert (html2canvas).
Für einen <strong>datenbasierten Bericht</strong> unabhängig vom Dashboard nutze{' '}
<strong>Einstellungen → PDF-Bericht (strukturiert)</strong>.
Für einen <strong>datenbasierten Bericht</strong> unabhängig vom Dashboard öffne{' '}
<Link to="/settings/reports" style={{ color: 'var(--accent)', fontWeight: 600 }}>
Einstellungen → PDF-Berichte
</Link>
.
</p>
<div style={{ marginTop: 14 }}>
{!canExport ? (