diff --git a/CHANGELOG.md b/CHANGELOG.md index 72ed5e2..696114b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ To see every change with descriptions aimed at developers, see As a continuously updated web app, Coauthor uses dates instead of version numbers. +## 2023-12-17 + +* Superusers can now make private replies (e.g. for student feedback) + from the "Reply/Attach" dropdown. + ## 2023-12-14 * `\begin{tabular}` improvements: diff --git a/client/message.coffee b/client/message.coffee index 1108a28..7bbe772 100644 --- a/client/message.coffee +++ b/client/message.coffee @@ -1477,7 +1477,7 @@ export uploaderProps = (callback, inputRef) -> onInput: (e) -> callback e.target.files, e -export ReplyButtons = React.memo ({message, prefix}) -> +export ReplyButtons = React.memo ({message, prefix, can}) -> attachInput = useRef() defaultPublished = useTracker -> autopublish() @@ -1657,6 +1657,18 @@ export ReplyButtons = React.memo ({message, prefix}) -> } + {if can.super and not message.private and not privateReply +