From 77072d057ae02db518d172a620fd38bcc46417b2 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 28 Jul 2026 21:04:55 +0200 Subject: [PATCH] Declare calendar route View surface --- src/govoplan_calendar/backend/manifest.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/govoplan_calendar/backend/manifest.py b/src/govoplan_calendar/backend/manifest.py index e658fc5..44ca8e2 100644 --- a/src/govoplan_calendar/backend/manifest.py +++ b/src/govoplan_calendar/backend/manifest.py @@ -16,6 +16,7 @@ from govoplan_core.core.calendar import ( from govoplan_core.core.module_guards import drop_table_retirement_provider, persistent_table_uninstall_guard from govoplan_core.core.modules import ( FrontendModule, + FrontendRoute, MigrationSpec, ModuleContext, ModuleInterfaceProvider, @@ -194,6 +195,14 @@ manifest = ModuleManifest( frontend=FrontendModule( module_id="calendar", package_name="@govoplan/calendar-webui", + routes=( + FrontendRoute( + path="/calendar", + component="CalendarPage", + required_any=("calendar:event:read",), + order=55, + ), + ), nav_items=(NavItem(path="/calendar", label="Calendar", icon="calendar", required_any=("calendar:event:read",), order=55),), ), migration_spec=MigrationSpec(