feat(UI-Overhaul-Phase7): Reports UI mit ResizablePanel und PluginToolbar
Check Cross-Plugin Imports / check (push) Has been cancelled

Migration 0139: Add folder_id column to report_templates for folder-based organization

Backend:
- ReportTemplate model: add folder_id field (nullable UUID)

Frontend:
- api/reports.ts: ReportTemplate interface updated with folder_id
- Reports.tsx: Added ResizablePanel for template list (resizable left sidebar)
- Reports.tsx: Added PluginToolbar registration with new-report button
- Reports.tsx: Added useEffect import for toolbar registration

tsc clean
This commit is contained in:
Agent Zero
2026-08-21 13:55:11 +02:00
parent 6c197e1fc5
commit 16d15bcfbf
4 changed files with 44 additions and 3 deletions
@@ -34,6 +34,7 @@ class ReportTemplate(Base, TenantMixin, OwnedMixin):
String(50), nullable=False, default="csv"
)
created_by: Mapped[uuid.UUID] = mapped_column(PGUUID(as_uuid=True), nullable=False)
folder_id: Mapped[uuid.UUID | None] = mapped_column(PGUUID(as_uuid=True), nullable=True)
class ReportInstance(Base, TenantMixin, OwnedMixin):