Let an entrypoint's description be edited in place (closes #392)
check / check (push) Successful in 3m23s

Each entrypoint on the webhook page has an Edit button that shows its
description as a form, with Save and Cancel, in place. Edit hides while
the form is open, so the form always opens on the saved description.
Saving posts to /hook/{id}/entrypoints/{entrypointID}/edit, behind the
same login, CSRF and ownership checks as activate, deactivate and
delete, and writes only the description column, so the URL never
changes. An empty description shows as "Entrypoint". Activate and
deactivate now write only the active column, so they cannot write back
an older description over an edit.

Model: opus-5-5
This commit is contained in:
2026-10-02 18:14:36 +00:00
parent 0945831442
commit 1ac8102243
10 changed files with 412 additions and 16 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ document.addEventListener("alpine:init", function () {
"use strict";
// Something a click shows and hides: the mobile menu, an add form,
// an event in the event log, a delivery's attempts.
// an entrypoint's edit form, an event in the event log, a delivery's
// attempts.
window.Alpine.data("collapsible", function () {
return {
open: false,