waline
waline copied to clipboard
[Bug]: 开启了 COMMENT_AUDIT 审核评论后,首次提交的时候评论还是会显示出来 || [Bug]: After turning on COMMENT_AUDIT to review comments, the comments will still be displayed when submitting for the first time.
问题描述 | Describe the bug
开启了 COMMENT_AUDIT 为 true 设置评论审核。但是提交的时候评论还是会显示出来,要刷新一下页面评论才会消失。实际上提交之后我希望通过一次 toast 让用户知道已经成功,让他等审核就可以。现在这样显示出来可能会让用户误以为评论成功,然后刷新页面一看又没了就很奇怪。能不能加多一个配置让开发者自己决定要不要马上显示评论。
问题网站 | Website URL
https://indiehackertools.net/tools/free-for-dev
服务部署在哪里? | Where your waline deploy?
Vercel (Default)
数据存储在哪里?| Where your comment data store?
LeanCloud(https://leancloud.app)
Problem description | Describe the bug
Enable COMMENT_AUDIT to true to set comment moderation. However, the comments will still be displayed when submitting, and the comments will disappear after refreshing the page. In fact, after submitting, I hope to let the user know that it has been successful through a toast and let him wait for review. Displaying it like this now may make users mistakenly think that the comment is successful, and then refresh the page and see that it is gone again, which is very strange. Can you add another configuration to let developers decide whether to display comments immediately?
Question Website | Website URL
https://indiehackertools.net/tools/free-for-dev
Where is the service deployed? | Where your waline deploy?
Vercel (Default)
Where is the data stored? | Where your comment data store?
LeanCloud(https://leancloud.app)