From 1d6eef386d894dd37f4cae2db2d65cee1f2bf4f2 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Wed, 9 Sep 2026 02:03:35 +0200 Subject: [PATCH] fix(ui): align contextual documentation with headings Verified with the coordinated workspace changes by devkit full run 2026-09-08T225814-186389-0000-3e3ed7cd (all seven phases passed). This shared UI pass does not mark the individual module reviews complete. --- src/govoplan_committee/backend/manifest.py | 8 ++++++-- webui/src/features/committee/CommitteeBallotDialog.tsx | 2 +- webui/src/features/committee/CommitteePage.tsx | 3 ++- webui/src/features/committee/CommitteeRecordDialog.tsx | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/govoplan_committee/backend/manifest.py b/src/govoplan_committee/backend/manifest.py index 79f446a..b685a46 100644 --- a/src/govoplan_committee/backend/manifest.py +++ b/src/govoplan_committee/backend/manifest.py @@ -558,7 +558,9 @@ manifest = ModuleManifest( id="committee.workspace-layout", title="Committee workspace layout", summary="Find workspace actions and read consistently arranged content.", - body="Reload and New body share the workspace-wide action bar at the upper right; Reload sits directly before New. Searching and selecting a body, meeting, or agenda item leaves those workspace actions in place. Item editing, ballots, and finalization remain scoped to the selected record. Disabled controls explain missing authority; administrators grant the existing management permissions rather than changing layouts.", + body="Documentation books sit beside the Committee workspace heading and beside record or ballot " + "dialog titles; field help stays with its label. " + "Reload and New body share the workspace-wide action bar at the upper right; Reload sits directly before New. Searching and selecting a body, meeting, or agenda item leaves those workspace actions in place. Item editing, ballots, and finalization remain scoped to the selected record. Disabled controls explain missing authority; administrators grant the existing management permissions rather than changing layouts.", layer="static", documentation_types=("user", "admin"), audience=("user", "module_admin", "operator"), @@ -566,7 +568,9 @@ manifest = ModuleManifest( translations={"de": { "title": "Gremien: Aufbau des Arbeitsbereichs", "summary": "Arbeitsbereichsaktionen finden und einheitlich angeordnete Inhalte lesen.", - "body": "Neu laden und Neues Gremium stehen oben rechts in der gemeinsamen Arbeitsbereichsleiste; Neu laden steht unmittelbar vor Neu. Suche und Auswahl eines Gremiums, einer Sitzung oder eines Tagesordnungspunkts verändern diese Positionen nicht. Bearbeitung, Abstimmungen und Abschluss bleiben dem ausgewählten Datensatz zugeordnet. Deaktivierte Aktionen erklären fehlende Berechtigungen; Administratoren vergeben die bestehenden Verwaltungsrechte, statt das Layout zu ändern.", + "body": "Dokumentationsbücher stehen neben der Überschrift des Gremienarbeitsbereichs sowie neben den " + "Titeln der Eintrags- und Abstimmungsdialoge; Feldhilfe bleibt bei der Feldbezeichnung. " + "Neu laden und Neues Gremium stehen oben rechts in der gemeinsamen Arbeitsbereichsleiste; Neu laden steht unmittelbar vor Neu. Suche und Auswahl eines Gremiums, einer Sitzung oder eines Tagesordnungspunkts verändern diese Positionen nicht. Bearbeitung, Abstimmungen und Abschluss bleiben dem ausgewählten Datensatz zugeordnet. Deaktivierte Aktionen erklären fehlende Berechtigungen; Administratoren vergeben die bestehenden Verwaltungsrechte, statt das Layout zu ändern.", }}, ), DocumentationTopic( diff --git a/webui/src/features/committee/CommitteeBallotDialog.tsx b/webui/src/features/committee/CommitteeBallotDialog.tsx index 7f52627..3adf489 100644 --- a/webui/src/features/committee/CommitteeBallotDialog.tsx +++ b/webui/src/features/committee/CommitteeBallotDialog.tsx @@ -102,6 +102,7 @@ export default function CommitteeBallotDialog({ } onClose={requestClose} closeDisabled={busy} portal @@ -121,7 +122,6 @@ export default function CommitteeBallotDialog({ } >
-
{error ? {error} : null}

{votingBallotId diff --git a/webui/src/features/committee/CommitteePage.tsx b/webui/src/features/committee/CommitteePage.tsx index 6a096ac..6cc2f52 100644 --- a/webui/src/features/committee/CommitteePage.tsx +++ b/webui/src/features/committee/CommitteePage.tsx @@ -186,6 +186,8 @@ export default function CommitteePage({ settings, auth }: PlatformRouteContext)

} scope="workspace" variant="collection" refreshable @@ -204,7 +206,6 @@ export default function CommitteePage({ settings, auth }: PlatformRouteContext)