Refactor comment system:

- Update comment API to handle private comments and improve request structure.
- Remove unused CSS animations and components related to comments.
- Implement new comment input and item components with enhanced functionality including editing and private comment options.
- Integrate user profile navigation and improve user experience with better feedback on actions (like, delete, edit).
- Update localization for new features and ensure consistency in comment handling.
- Introduce checkbox for private comments in the comment input.
This commit is contained in:
2025-09-09 21:56:41 +08:00
parent ad9dfb0c4c
commit 3e70d63e70
16 changed files with 523 additions and 666 deletions

View File

@ -3,25 +3,30 @@
"title": "Hello world!"
},
"Comment": {
"collapse_replies": "收起",
"comment": "评论",
"placeholder": "写你的评论...",
"submit": "提交",
"login_required": "请先登录后再评论。",
"content_required": "评论内容不能为空。",
"comment_success": "评论成功!",
"comment_failed": "评论失败",
"delete": "删除",
"delete_success": "评论已经删除",
"delete_failed": "删除评论失败",
"comment_success": "评论成功!",
"confirm_delete": "确定吗?",
"content_required": "评论内容不能为空。",
"delete": "删除",
"delete_failed": "删除评论失败",
"delete_success": "评论已经删除",
"edit": "编辑",
"edit_failed": "编辑评论失败",
"edit_success": "评论已更新",
"expand_replies": "展开 {count} 条",
"like": "点赞",
"unlike": "取消点赞",
"like_success": "点赞成功",
"unlike_success": "已取消点赞",
"like_failed": "点赞失败",
"like_success": "点赞成功",
"login_required": "请先登录后再评论。",
"placeholder": "写你的评论...",
"private": "私密评论",
"reply": "回复",
"expand_replies": "展开 {count} 条回复",
"collapse_replies": "收起回复"
"submit": "提交",
"unlike": "取消点赞",
"unlike_success": "已取消点赞",
"update": "更新"
},
"Login": {
"welcome": "欢迎回来",