1 Commits
Author SHA1 Message Date
zemion 0ad2ef96b4 fix(webui): bind ticket deletion to help
Module Package Release / publish-packages (push) Successful in 11s
2026-08-24 11:47:24 +02:00
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/tickets-webui", "name": "@govoplan/tickets-webui",
"version": "0.1.21", "version": "0.1.22",
"private": true, "private": true,
"description": "Canonical GovOPlaN operational ticket lifecycle module.", "description": "Canonical GovOPlaN operational ticket lifecycle module.",
"type": "module", "type": "module",
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "govoplan-tickets" name = "govoplan-tickets"
version = "0.1.21" version = "0.1.22"
description = "Canonical GovOPlaN operational ticket lifecycle module." description = "Canonical GovOPlaN operational ticket lifecycle module."
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
+1 -1
View File
@@ -64,7 +64,7 @@ from govoplan_tickets.backend.service import (
MODULE_ID = "tickets" MODULE_ID = "tickets"
MODULE_NAME = "Tickets" MODULE_NAME = "Tickets"
MODULE_VERSION = "0.1.21" MODULE_VERSION = "0.1.22"
WRITE_SCOPE = LEGACY_WRITE_SCOPE WRITE_SCOPE = LEGACY_WRITE_SCOPE
OPTIONAL_DEPENDENCIES = ( OPTIONAL_DEPENDENCIES = (
"cases", "cases",
+1 -1
View File
@@ -25,7 +25,7 @@ class ManifestTests(unittest.TestCase):
manifest = get_manifest() manifest = get_manifest()
self.assertEqual("tickets", manifest.id) self.assertEqual("tickets", manifest.id)
self.assertEqual("0.1.21", manifest.version) self.assertEqual("0.1.22", manifest.version)
self.assertEqual(("access",), manifest.dependencies) self.assertEqual(("access",), manifest.dependencies)
self.assertEqual( self.assertEqual(
{ {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/tickets-webui", "name": "@govoplan/tickets-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",
+1 -1
View File
@@ -514,7 +514,7 @@ function TicketDetail({ record, availability, history, canTriage, canAssign, can
<Button type="submit" disabled={saving || !comment.trim()}>Add comment</Button> <Button type="submit" disabled={saving || !comment.trim()}>Add comment</Button>
</form> </form>
</section>} </section>}
{canAdmin && <section className="ticket-destructive-actions" aria-label="Destructive ticket actions"><h2>Administrative removal</h2><p>Deletion removes the ticket from active queues and Search while retaining immutable evidence.</p><Button type="button" variant="danger" onClick={onDelete}><Trash2 size={16} /> Delete ticket</Button></section>} {canAdmin && <section className="ticket-destructive-actions" aria-label="Destructive ticket actions"><h2>Administrative removal</h2><p>Deletion removes the ticket from active queues and Search while retaining immutable evidence.</p><Button type="button" variant="danger" helpContextId="tickets.action.delete" helpModuleId="tickets" onClick={onDelete}><Trash2 size={16} /> Delete ticket</Button></section>}
</article> </article>
); );
} }