1 Commits
Author SHA1 Message Date
zemion d7e7890291 fix(webui): bind report publication to help
Module Package Release / publish-packages (push) Successful in 12s
2026-08-24 11:36:44 +02:00
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -1,3 +1,3 @@
"""GovOPlaN Reporting module."""
__version__ = "0.1.19"
__version__ = "0.1.20"
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@govoplan/reporting-webui",
"version": "0.1.19",
"version": "0.1.20",
"private": true,
"type": "module",
"main": "src/index.ts",
@@ -365,7 +365,7 @@ export default function ReportingPage({ settings, auth }: PlatformRouteContext)
<IconButton label="Download CSV" icon={<Download size={17} />} variant="ghost" onClick={() => void downloadExecution(settings, execution.execution_id, "csv").catch((reason) => setError(message(reason)))} />
<IconButton label="Download JSON" icon={<FileJson size={17} />} variant="ghost" onClick={() => void downloadExecution(settings, execution.execution_id, "json").catch((reason) => setError(message(reason)))} />
{canPublish &&
<IconButton label="Publish report" icon={<FolderOutput size={17} />} variant="ghost" onClick={() => setPublishDialogOpen(true)} />
<IconButton label="Publish report" helpContextId="reporting.publications" helpModuleId="reporting" icon={<FolderOutput size={17} />} variant="ghost" onClick={() => setPublishDialogOpen(true)} />
}
</>
: undefined}
@@ -740,6 +740,8 @@ function PublishDialog({ open, targets, onClose, onPublish }: {
<Button onClick={onClose}>Cancel</Button>
<Button
variant="primary"
helpContextId="reporting.publications"
helpModuleId="reporting"
disabled={!valid || saving}
disabledReason={!target?.available ? target?.reason ?? "The selected target is unavailable." : undefined}
onClick={() => {