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

@ -4,6 +4,9 @@
(defparameter color/black
"rgb(24, 24, 24)")
(defparameter color/light-gray
"#EEE")
(defparameter color/gray
"#8D8D8D")
@ -105,7 +108,8 @@
((:and input (:= type "submit"))
:-webkit-appearance "none"
:border "none"
:cursor "pointer")
:cursor "pointer"
:font-size "1rem")
,@(button '(:and input (:= type "submit")))
@ -126,6 +130,16 @@
:justify-content "space-between"
:align-items "center"
,@(button '.edit-issue)
(.created-by-at
:flex 1)
(.edit-issue
:background-color ,color/light-gray
:flex 0
:margin-right "0.5rem")
(.close-issue
:background-color ,color/failure))))