Migrate Voting interface patterns

This commit is contained in:
2026-08-03 13:16:24 +02:00
parent 0a4e06077d
commit 2625990639
9 changed files with 427 additions and 38 deletions
+4 -2
View File
@@ -1,5 +1,6 @@
import { createElement, lazy } from "react";
import type { PlatformWebModule } from "@govoplan/core-webui";
import { generatedTranslations } from "./i18n/generatedTranslations";
import "./styles/voting.css";
@@ -7,10 +8,11 @@ const VotingPage = lazy(() => import("./features/voting/VotingPage"));
export const votingModule: PlatformWebModule = {
id: "voting",
label: "Voting",
label: "i18n:govoplan-voting.voting",
version: "0.1.14",
dependencies: ["access"],
optionalDependencies: ["committee", "decisions", "encryption", "forms", "identity_trust", "policy", "reporting", "workflow_engine"],
translations: generatedTranslations,
routes: [
{
path: "/voting",
@@ -23,7 +25,7 @@ export const votingModule: PlatformWebModule = {
navItems: [
{
to: "/voting",
label: "Voting",
label: "i18n:govoplan-voting.voting",
iconName: "vote",
anyOf: ["voting:ballot:read"],
order: 39,