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

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, and going back to the page does not put unsaved text
back into it, 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 19:15:53 +00:00
parent 35d2f28c67
commit 6f876509f7
10 changed files with 442 additions and 15 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,