From d7e7890291254a9293cccb7d54210620794985f6 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Mon, 24 Aug 2026 11:36:44 +0200 Subject: [PATCH] fix(webui): bind report publication to help --- pyproject.toml | 2 +- src/govoplan_reporting/__init__.py | 2 +- src/govoplan_reporting/backend/manifest.py | 2 +- webui/package.json | 2 +- webui/src/features/reporting/ReportingPage.tsx | 4 +++- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a72b7cf..6392192 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "govoplan-reporting" -version = "0.1.19" +version = "0.1.20" description = "GovOPlaN governed reporting and semantic BI module." readme = "README.md" requires-python = ">=3.12" diff --git a/src/govoplan_reporting/__init__.py b/src/govoplan_reporting/__init__.py index 925d2af..5850683 100644 --- a/src/govoplan_reporting/__init__.py +++ b/src/govoplan_reporting/__init__.py @@ -1,3 +1,3 @@ """GovOPlaN Reporting module.""" -__version__ = "0.1.19" +__version__ = "0.1.20" diff --git a/src/govoplan_reporting/backend/manifest.py b/src/govoplan_reporting/backend/manifest.py index 0b0c574..bbcfeca 100644 --- a/src/govoplan_reporting/backend/manifest.py +++ b/src/govoplan_reporting/backend/manifest.py @@ -83,7 +83,7 @@ from govoplan_reporting.backend.search_source import create_reporting_search_sou MODULE_ID = "reporting" MODULE_NAME = "Reporting" -MODULE_VERSION = "0.1.19" +MODULE_VERSION = "0.1.20" def _permission(scope: str, label: str, description: str) -> PermissionDefinition: diff --git a/webui/package.json b/webui/package.json index db496e0..ce1f416 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "@govoplan/reporting-webui", - "version": "0.1.19", + "version": "0.1.20", "private": true, "type": "module", "main": "src/index.ts", diff --git a/webui/src/features/reporting/ReportingPage.tsx b/webui/src/features/reporting/ReportingPage.tsx index 7af6593..c85119a 100644 --- a/webui/src/features/reporting/ReportingPage.tsx +++ b/webui/src/features/reporting/ReportingPage.tsx @@ -365,7 +365,7 @@ export default function ReportingPage({ settings, auth }: PlatformRouteContext) } variant="ghost" onClick={() => void downloadExecution(settings, execution.execution_id, "csv").catch((reason) => setError(message(reason)))} /> } variant="ghost" onClick={() => void downloadExecution(settings, execution.execution_id, "json").catch((reason) => setError(message(reason)))} /> {canPublish && - } variant="ghost" onClick={() => setPublishDialogOpen(true)} /> + } variant="ghost" onClick={() => setPublishDialogOpen(true)} /> } : undefined} @@ -740,6 +740,8 @@ function PublishDialog({ open, targets, onClose, onPublish }: {