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

An entrypoint's description was set when it was added and could never change, so renaming one meant deleting it and adding a new one with a new URL every sender had to be given again. Each entrypoint on the webhook page now has an Edit button, in the shared secondary style, that opens its description in place with Save and Cancel and keeps its URL. The save goes through the same login, CSRF and ownership checks as the other entrypoint actions; an empty description shows as "Entrypoint". Activate and deactivate now write only the active column, so they cannot undo an edit. Tests cover each, through the router and the browser.

Model: opus-5-5
This commit was merged in pull request #464.
This commit is contained in:
2026-10-02 21:32:43 +02:00
parent 820d9391ff
commit 0f5f6ba6bf
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,