From 94796399e246d395811e33a5f2da50157881386c Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 28 Jul 2020 18:29:30 -0400 Subject: 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 --- web/panettone/src/packages.lisp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'web/panettone/src/packages.lisp') diff --git a/web/panettone/src/packages.lisp b/web/panettone/src/packages.lisp index c5dd6aa5ae..327ea023b2 100644 --- a/web/panettone/src/packages.lisp +++ b/web/panettone/src/packages.lisp @@ -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)) -- cgit 1.4.1