fix(webui): bind destructive calendar controls to help
Module Package Release / publish-packages (push) Successful in 13s
Module Package Release / publish-packages (push) Successful in 13s
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/calendar-webui",
|
"name": "@govoplan/calendar-webui",
|
||||||
"version": "0.1.21",
|
"version": "0.1.22",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "webui/src/index.ts",
|
"main": "webui/src/index.ts",
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "govoplan-calendar"
|
name = "govoplan-calendar"
|
||||||
version = "0.1.21"
|
version = "0.1.22"
|
||||||
description = "GovOPlaN calendar module with VEVENT storage and WebUI integration."
|
description = "GovOPlaN calendar module with VEVENT storage and WebUI integration."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
__all__ = ["__version__"]
|
__all__ = ["__version__"]
|
||||||
|
|
||||||
__version__ = "0.1.21"
|
__version__ = "0.1.22"
|
||||||
|
|||||||
@@ -618,7 +618,7 @@ def _open_xchange_provider_states(context):
|
|||||||
manifest = ModuleManifest(
|
manifest = ModuleManifest(
|
||||||
id="calendar",
|
id="calendar",
|
||||||
name="Calendar",
|
name="Calendar",
|
||||||
version="0.1.21",
|
version="0.1.22",
|
||||||
required_capabilities=(
|
required_capabilities=(
|
||||||
CAPABILITY_AUTH_PRINCIPAL_RESOLVER,
|
CAPABILITY_AUTH_PRINCIPAL_RESOLVER,
|
||||||
CAPABILITY_AUTH_PERMISSION_EVALUATOR,
|
CAPABILITY_AUTH_PERMISSION_EVALUATOR,
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/calendar-webui",
|
"name": "@govoplan/calendar-webui",
|
||||||
"version": "0.1.21",
|
"version": "0.1.22",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
|
|||||||
@@ -703,6 +703,8 @@ export function CalendarCollectionDeleteDialog({
|
|||||||
<legend>{eventCount} event{eventCount === 1 ? "" : "s"}</legend>
|
<legend>{eventCount} event{eventCount === 1 ? "" : "s"}</legend>
|
||||||
<label>
|
<label>
|
||||||
<input
|
<input
|
||||||
|
data-help-context-id="calendar.collection-editor"
|
||||||
|
data-help-module-id="calendar"
|
||||||
type="radio"
|
type="radio"
|
||||||
name="calendar-delete-event-action"
|
name="calendar-delete-event-action"
|
||||||
value="delete"
|
value="delete"
|
||||||
@@ -713,6 +715,8 @@ export function CalendarCollectionDeleteDialog({
|
|||||||
</label>
|
</label>
|
||||||
<label>
|
<label>
|
||||||
<input
|
<input
|
||||||
|
data-help-context-id="calendar.collection-editor"
|
||||||
|
data-help-module-id="calendar"
|
||||||
type="radio"
|
type="radio"
|
||||||
name="calendar-delete-event-action"
|
name="calendar-delete-event-action"
|
||||||
value="move"
|
value="move"
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ export function CalendarEventDialog({
|
|||||||
<>
|
<>
|
||||||
<div>
|
<div>
|
||||||
{event && canDelete &&
|
{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
|
<Trash2 size={16} /> i18n:govoplan-calendar.delete.f6fdbe48
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user