feat: implement advanced comment features including reply and like functionality
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 13s

- Added support for nested comments with reply functionality.
- Implemented like/unlike feature for comments and posts.
- Enhanced comment DTO to include reply count, like count, and like status.
- Updated comment and like services to handle new functionalities.
- Created new API endpoints for toggling likes and listing comments.
- Improved UI components for comments to support replies and likes with animations.
- Added localization for new comment-related messages.
- Introduced a TODO list for future enhancements in the comment module.
This commit is contained in:
2025-09-09 00:24:25 +08:00
parent 382132f550
commit dd7641bf6e
28 changed files with 422 additions and 101 deletions

View File

@ -3,12 +3,21 @@
"title": "Hello world!"
},
"Comment": {
"placeholder": "写你的评论...",
"placeholder": "写你的评论...",
"submit": "提交",
"login_required": "请先登录后再评论。",
"content_required": "评论内容不能为空。",
"comment_success": "评论提交成功!",
"comment_failed": "评论提交失败"
"comment_failed": "评论提交失败",
"delete": "删除",
"delete_success": "评论删除成功",
"confirm_delete": "确定删除?",
"like_success": "点赞评论成功",
"unlike_success": "取消点赞成功",
"like_failed": "点赞失败",
"reply": "回复",
"expand_replies": "展开 {count} 条回复",
"collapse_replies": "收起回复"
},
"Login": {
"welcome": "欢迎回来",