feat(web/panettone): Add support for comments
Add a new-comment form and list all issue comments on the issue page Change-Id: Ia74083484614ba0ca0f2879276f717f709d0f42f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1351 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org>
This commit is contained in:
parent
d445136140
commit
a107d8e335
2 changed files with 78 additions and 7 deletions
|
|
@ -57,7 +57,28 @@
|
|||
:outline "none"
|
||||
|
||||
(.issue-subject
|
||||
:color ,color/primary)))))
|
||||
:color ,color/primary)))
|
||||
|
||||
(.comment-count
|
||||
:color ,color/gray)))
|
||||
|
||||
(defparameter comment-styles
|
||||
`((.issue-comments
|
||||
:border-top "1px" "solid" ,color/gray
|
||||
:padding-top "1rem"
|
||||
:padding-left "2rem"
|
||||
|
||||
(.comment-info
|
||||
:color ,color/gray
|
||||
:margin 0
|
||||
:padding-top "1rem")
|
||||
|
||||
(.comment
|
||||
:padding-top "1rem"
|
||||
:padding-bottom "1rem"
|
||||
:border-bottom "1px" "solid" ,color/gray
|
||||
|
||||
(p :margin 0)))))
|
||||
|
||||
(defparameter form-styles
|
||||
`(((:or (:and input (:or (:= type "text")
|
||||
|
|
@ -85,6 +106,7 @@
|
|||
(defparameter styles
|
||||
`(,@form-styles
|
||||
,@issue-list-styles
|
||||
,@comment-styles
|
||||
|
||||
(body
|
||||
:font-family "sans-serif"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue