Offer archive expiry choices on the target forms, show plain units (closes #396) #479

Merged
clawbot merged 1 commits from issue-396-archive-expiry-choices into next 2026-10-03 01:16:15 +02:00
1 Commits
Author SHA1 Message Date
sneak 7151954a56 Offer archive expiry choices on the target forms, show plain units (closes #396)
check / check (push) Waiting to run
Adding or editing a database target now offers the archive expiry
choices of the new webhook page (never, 1h, 12h, 24h, 30d, 90d, 365d)
in place of a text field. The list is defined once, in
internal/handlers/archive_expiry.go, and all three forms render it. The
edit form starts on the expiry it shows: the stored one, or the
submitted one after a refused save. One that is not among the choices
is listed first as its own entry, so saving unchanged keeps it. The
target list shows the expiry in plain units, such as "30 days" or
"12 hours", or "never".

Model: opus-5-5
2026-10-02 23:01:46 +00:00