fix(webui): bind destructive calendar controls to help
Module Package Release / publish-packages (push) Successful in 13s

This commit is contained in:
2026-08-24 11:36:33 +02:00
parent ae0f3990f1
commit 3792e9ab8a
7 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@govoplan/calendar-webui",
"version": "0.1.21",
"version": "0.1.22",
"private": true,
"type": "module",
"main": "webui/src/index.ts",
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "govoplan-calendar"
version = "0.1.21"
version = "0.1.22"
description = "GovOPlaN calendar module with VEVENT storage and WebUI integration."
readme = "README.md"
requires-python = ">=3.12"
+1 -1
View File
@@ -2,4 +2,4 @@
__all__ = ["__version__"]
__version__ = "0.1.21"
__version__ = "0.1.22"
+1 -1
View File
@@ -618,7 +618,7 @@ def _open_xchange_provider_states(context):
manifest = ModuleManifest(
id="calendar",
name="Calendar",
version="0.1.21",
version="0.1.22",
required_capabilities=(
CAPABILITY_AUTH_PRINCIPAL_RESOLVER,
CAPABILITY_AUTH_PERMISSION_EVALUATOR,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@govoplan/calendar-webui",
"version": "0.1.21",
"version": "0.1.22",
"private": true,
"type": "module",
"main": "src/index.ts",
@@ -703,6 +703,8 @@ export function CalendarCollectionDeleteDialog({
<legend>{eventCount} event{eventCount === 1 ? "" : "s"}</legend>
<label>
<input
data-help-context-id="calendar.collection-editor"
data-help-module-id="calendar"
type="radio"
name="calendar-delete-event-action"
value="delete"
@@ -713,6 +715,8 @@ export function CalendarCollectionDeleteDialog({
</label>
<label>
<input
data-help-context-id="calendar.collection-editor"
data-help-module-id="calendar"
type="radio"
name="calendar-delete-event-action"
value="move"
@@ -289,7 +289,7 @@ export function CalendarEventDialog({
<>
<div>
{event && canDelete &&
<Button type="button" variant="danger" onClick={requestDelete} disabled={saving} disabledReason={saving ? CALENDAR_I18N.saving : undefined}>
<Button type="button" variant="danger" helpContextId="calendar.event-editor" helpModuleId="calendar" onClick={requestDelete} disabled={saving} disabledReason={saving ? CALENDAR_I18N.saving : undefined}>
<Trash2 size={16} /> i18n:govoplan-calendar.delete.f6fdbe48
</Button>
}