2 Commits
Author SHA1 Message Date
zemion 14808037fb fix(webui): bind status-link delivery to help
Module Package Release / publish-packages (push) Successful in 11s
2026-08-24 11:36:41 +02:00
zemion e0326d3394 docs: complete German structured documentation
Module Package Release / publish-packages (push) Successful in 10s
2026-08-24 01:15:36 +02:00
5 changed files with 34 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "govoplan-portal" name = "govoplan-portal"
version = "0.1.19" version = "0.1.21"
description = "GovOPlaN service discovery and public portal module." description = "GovOPlaN service discovery and public portal module."
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
@@ -0,0 +1,22 @@
"""German translations for public structured documentation metadata."""
from __future__ import annotations
from typing import Any
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'portal.application-status': {'privacy_notes': ['Der Besitz eines permanenten Statuslinks gewährt '
'Zugriff auf die begrenzte Projektion, bis der '
'Eigentümer die Police aussetzt oder den Zuschuss '
'widerruft.',
'Die Oberfläche der E-Mail-Anfrage zeigt nicht '
'an, ob die Tracking-Kennung, die E-Mail-Adresse, '
'der Anbieter oder der Lieferversuch '
'übereinstimmen.']},
'portal.service-directory': {'steps': ['Öffnen Sie das Dienstverzeichnis und wählen Sie einen '
'entsprechenden veröffentlichten Dienst aus.',
'Überprüfen Sie alle erklärten '
'Verfügbarkeitsbeschränkungen, bevor Sie fortfahren.',
'Öffnen Sie den Dienst, damit Portal die genaue '
'Überarbeitung erneut überprüft und den Start an sein '
'eigenes Modul übergibt.']}}
+9 -1
View File
@@ -1,5 +1,8 @@
from __future__ import annotations from __future__ import annotations
from govoplan_core.core.modules import with_documentation_structured_translations
from govoplan_portal.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
from govoplan_core.core.application_status import ( from govoplan_core.core.application_status import (
CAPABILITY_APPLICATION_STATUS_PROJECTION, CAPABILITY_APPLICATION_STATUS_PROJECTION,
application_status_projection_provider, application_status_projection_provider,
@@ -40,7 +43,7 @@ from govoplan_core.core.views import ViewSurface
MODULE_ID = "portal" MODULE_ID = "portal"
MODULE_VERSION = "0.1.19" MODULE_VERSION = "0.1.21"
READ_SCOPE = "portal:service:read" READ_SCOPE = "portal:service:read"
SERVICE_LAUNCH_CAPABILITIES = tuple( SERVICE_LAUNCH_CAPABILITIES = tuple(
service_launch_capability(kind) for kind in ("case", "form", "workflow") service_launch_capability(kind) for kind in ("case", "form", "workflow")
@@ -432,5 +435,10 @@ manifest = ModuleManifest(
) )
manifest = with_documentation_structured_translations(
manifest, locale="de", translations=GERMAN_STRUCTURED_TRANSLATIONS
)
def get_manifest() -> ModuleManifest: def get_manifest() -> ModuleManifest:
return manifest return manifest
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/portal-webui", "name": "@govoplan/portal-webui",
"version": "0.1.19", "version": "0.1.21",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "src/index.ts", "main": "src/index.ts",
@@ -130,7 +130,7 @@ export default function PortalStatusPage({ settings }: PlatformRouteContext) {
<FormField label="Linked email address"> <FormField label="Linked email address">
<input type="email" value={email} onChange={(event) => setEmail(event.target.value)} disabled={sending} required autoComplete="email" /> <input type="email" value={email} onChange={(event) => setEmail(event.target.value)} disabled={sending} required autoComplete="email" />
</FormField> </FormField>
<Button type="submit" variant="primary" disabled={sending || !email.trim()}> <Button type="submit" variant="primary" helpContextId="portal.application-status" helpModuleId="portal" disabled={sending || !email.trim()}>
<Send size={16} aria-hidden="true" /> <Send size={16} aria-hidden="true" />
Send new link Send new link
</Button> </Button>