feat(web/panettone): Disallow issues with an empty subject
Disallow creating issues with an empty subject, and render a nice(ish) alert box indicating the error. Change-Id: I2857923dc0eb7702c85cd1974a73270ca27720fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/1404 Reviewed-by: kanepyork <rikingcoding@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
280ec4a46c
commit
943a4c9214
2 changed files with 25 additions and 10 deletions
|
|
@ -146,6 +146,11 @@
|
|||
|
||||
,@(button '.new-issue)
|
||||
|
||||
(.alert
|
||||
:padding "0.5rem"
|
||||
:margin-bottom "1rem"
|
||||
:background-color ,color/failure)
|
||||
|
||||
(.login-form
|
||||
:width "300px"
|
||||
:margin "0 auto")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue