feat(web/panettone): Display issue history
Display the history of an issue (which currently is just opening and closing) inline with the issue's comments on the issue show page Change-Id: Id167bceef765cb4c24e86983d1dcd6624d0e5956 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1497 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
8e7ba41a34
commit
94796399e2
6 changed files with 94 additions and 35 deletions
|
|
@ -24,13 +24,15 @@
|
|||
(:export
|
||||
:connect-postgres :ddl/init
|
||||
|
||||
:issue
|
||||
:issue-comment
|
||||
:id :subject :body :author-dn :issue-id :status :created-at
|
||||
:issue :issue-comment :issue-event
|
||||
:id :subject :body :author-dn :issue-id :status :created-at :acting-user-dn
|
||||
:field :previous-value :new-value
|
||||
|
||||
:get-issue :issue-exists-p :list-issues :create-issue :set-issue-status
|
||||
:delete-issue :issue-not-found
|
||||
|
||||
:issue-events
|
||||
|
||||
:issue-comments :num-comments :create-issue-comment))
|
||||
|
||||
(defpackage panettone
|
||||
|
|
@ -38,10 +40,11 @@
|
|||
:panettone.util
|
||||
:panettone.authentication)
|
||||
(:import-from :defclass-std :defclass/std)
|
||||
(:import-from :alexandria :if-let :when-let)
|
||||
(:import-from :alexandria :if-let :when-let :switch)
|
||||
(:import-from
|
||||
:panettone.model
|
||||
:id :subject :body :author-dn :issue-id :status :created-at
|
||||
:issue-comments :num-comments)
|
||||
:field :previous-value :new-value :acting-user-dn
|
||||
:issue-comments :num-comments :issue-events)
|
||||
(:shadow :next)
|
||||
(:export :start-pannetone :config :main))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue