codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
385 stars 69 forks source link

remove "needs author's attention" flag #1200

Closed cellio closed 1 year ago

cellio commented 1 year ago

Disabled needs-author-attention flag on posts, and made the flags modal pay attention to disabled flags. I disabled instead of removing because there's no reason to destroy data -- but in the process of fixing this, I discovered that we weren't paying attention to whether flags were disabled, so fixed that too.

Because i disabled rather than nuking it from orbit, I didn't remove the special handling code that, if this flag is used, creates the comment. Maybe other deployments want that and will want to turn this flag back on, in which case they would need that code.

Fixes https://github.com/codidact/qpixel/issues/1104 .