feat(web/panettone): Allow editing issues

Allow editing both the subject and the body of issues, recording events
indicating the edit and displaying those events in the issue history.

Fixes: #14
Change-Id: I9ed05271ce9bf6bda4e56f15e249c0f28c862b27
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1517
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Griffin Smith 2020-08-01 12:10:27 -04:00 committed by glittershark
parent 2646e57aae
commit b6bab664db
4 changed files with 146 additions and 41 deletions

View file

@ -19,8 +19,8 @@
(defpackage panettone.model
(:nicknames :model)
(:use :cl :panettone.util :klatre :postmodern)
(:import-from :alexandria :if-let :define-constant)
(:use :cl :panettone.util :klatre :postmodern :iterate)
(:import-from :alexandria :if-let :when-let :define-constant)
(:export
:connect-postgres :ddl/init
@ -29,7 +29,7 @@
:field :previous-value :new-value
:get-issue :issue-exists-p :list-issues :create-issue :set-issue-status
:delete-issue :issue-not-found
:update-issue :delete-issue :issue-not-found
:issue-events