Commit Graph

65 Commits

Author SHA1 Message Date
d1d8aa529f feat: Refactor comment section to correctly handle API response structure
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 9s
fix: Update Gravatar URL size and improve avatar rendering logic

style: Adjust footer margin for better layout consistency

refactor: Remove old navbar component and integrate new layout structure

feat: Enhance user profile page with user header component

chore: Remove unused user profile component

fix: Update posts per page configuration for better pagination

feat: Extend device context to support system theme mode

refactor: Remove unused device hook

fix: Improve storage state hook for better error handling

i18n: Add new translations for blog home page

feat: Implement pagination component for better navigation

feat: Create theme toggle component for improved user experience

feat: Introduce responsive navbar or side layout with theme toggle

feat: Develop custom select component for better UI consistency

feat: Create user header component to display user information

chore: Add query key constants for better code maintainability
2025-09-12 00:26:08 +08:00
b3e8a5ef77 feat: 添加移动端检测功能,优化组件动画效果
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 9s
2025-09-11 00:03:03 +08:00
29dc8bf27a feat: 优化侧边栏动画效果,统一移动端和桌面端的动画属性 2025-09-10 23:53:26 +08:00
f5b30a6fe4 feat: 添加 useDevice 钩子以判断移动端,优化组件动画效果 2025-09-10 23:45:54 +08:00
77eaa7a612 feat: 添加 motion 动画支持,优化组件动画效果,调整动画持续时间 2025-09-10 23:33:55 +08:00
7a1af795ef feat: 优化登录处理逻辑,使用 Promise 处理登录请求,提升代码可读性 2025-09-10 21:52:25 +08:00
8a018a3c55 feat: 添加登录状态提示,优化用户登录体验 2025-09-10 21:51:12 +08:00
8b7b9987ed feat: 更新验证码组件成功状态显示,优化用户体验 2025-09-10 21:41:07 +08:00
40cbda117d feat: 更新验证码组件,添加 onAbort 处理,优化错误状态显示 2025-09-10 21:36:35 +08:00
c17100ed3c feat: 在验证码组件中添加错误状态显示,提升用户反馈体验 2025-09-10 21:21:51 +08:00
d69bf6c968 feat: 添加错误状态处理和错误标记组件,增强验证码功能 2025-09-10 21:20:45 +08:00
4781d81869 feat: add captcha support for user login and enhance user profile page
- Refactored userLogin function to include captcha handling.
- Introduced getCaptchaConfig API to fetch captcha configuration.
- Added Captcha component to handle different captcha providers (hCaptcha, reCaptcha, Turnstile).
- Updated LoginForm component to integrate captcha verification.
- Created UserProfile component to display user information with avatar.
- Implemented getUserByUsername API to fetch user details by username.
- Removed deprecated LoginRequest interface from user model.
- Enhanced navbar and layout with animation effects.
- Removed unused user page component and added dynamic user profile routing.
- Updated localization files to include captcha-related messages.
- Improved Gravatar component for better avatar handling.
2025-09-10 21:15:36 +08:00
a7da023b1e 优化了评论分页加载的列表显示
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 15s
2025-09-10 14:47:45 +08:00
eb66a51051 feat: 添加点击标签切换隐私状态功能,提升用户交互体验 2025-09-10 13:01:56 +08:00
c6e89c0b86 feat: 添加评论时间格式化功能,优化评论项显示,支持显示编辑时间 2025-09-10 12:34:08 +08:00
09c024ccbb feat: 增强评论功能,添加评论未更改提示,优化评论输入组件的占位符 2025-09-10 11:59:42 +08:00
b380e971cc feat: 添加评论输入组件的初始隐私状态支持 2025-09-10 11:46:12 +08:00
1d74723e44 feat: 优化评论项组件的布局和交互,增强用户体验 2025-09-10 11:45:17 +08:00
ff1d8b7928 fix: 优化点赞功能的状态管理,确保失败时回滚状态 2025-09-10 11:38:04 +08:00
648a329a7b fix: 修复点赞功能中的状态管理,确保用户操作后可以再次点击
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 12s
2025-09-10 10:00:24 +08:00
052d72c8c0 feat: 添加评论动画样式和登录组件 2025-09-10 09:59:22 +08:00
4fb39110ad feat: 优化评论功能,添加登录提示和国际化支持,重构相关组件
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 10s
2025-09-09 23:21:08 +08:00
cb3f602663 Refactor comment components and update OIDC configuration
- Updated OIDC configuration to include additional fields in the UpdateOidcConfig method.
- Enhanced CommentService to include IsPrivate field in the comment DTO.
- Refactored comment components: renamed neo-comment to comment, and moved related files.
- Implemented new CommentInput and CommentItem components for better structure and readability.
- Removed obsolete files related to the old comment system.
- Added CSS animations for comment components to improve user experience.
2025-09-09 22:37:27 +08:00
5fb6cd63dd feat: 移除未使用的点击跳转到帖子功能,优化评论模型 2025-09-09 21:59:21 +08:00
3e70d63e70 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.
2025-09-09 21:56:41 +08:00
ad9dfb0c4c feat: 重构评论功能,支持删除和点赞,更新国际化文本,优化组件结构 2025-09-09 20:11:31 +08:00
dd7641bf6e 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.
2025-09-09 00:24:25 +08:00
6237cddc87 feat: 添加评论功能,重构评论输入和列表组件,支持多种目标类型,更新国际化文本
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 18s
2025-09-07 23:56:25 +08:00
a740c48d12 feat: 更新评论功能,重构评论列表接口,添加分隔符组件,优化用户头像显示 2025-07-31 08:32:24 +08:00
94aa4f1b1f feat: 添加评论功能,包括评论输入、评论列表和评论项组件,支持层级深度和私密评论 2025-07-31 08:03:19 +08:00
92c2a58e80 feat: Implement blog home and post components with sidebar and pagination
- Added BlogHome component for displaying posts with sorting options (latest/popular).
- Integrated Sidebar with About, Hot Posts, Tags, and Misskey Iframe components.
- Created BlogPost component to render individual posts with metadata and content.
- Developed GravatarAvatar component for user avatars.
- Implemented Markdown rendering with syntax highlighting and custom code blocks.
- Added pagination component for navigating through posts.
- Enhanced login form with OpenID Connect options and email/password authentication.
- Utility functions for generating post URLs and calculating reading time.
2025-07-30 00:18:32 +08:00
dc698da285 ♻️ refactor: 优化布局组件,调整动画效果并修复ScrollToTop组件的依赖 2025-07-28 14:32:02 +08:00
faa793a68d feat: 添加设备检测功能,支持判断用户是否使用移动设备 2025-07-28 14:14:01 +08:00
b1296047aa ♻️ refactor: 优化Dockerfile,修正pnpm build命令的格式,确保构建过程顺利 2025-07-28 14:12:06 +08:00
bb1d4bc757 ♻️ refactor: 优化Dockerfile,移除不必要的pnpm prune命令,简化构建过程 2025-07-28 14:10:16 +08:00
aceb96ea53 feat: 在Footer组件中添加版权信息,增强页面底部内容 2025-07-28 14:08:23 +08:00
9a5a5b99e6 refactor: 移除未使用的导入和优化Navbar组件的逻辑 2025-07-28 14:06:48 +08:00
c962cf572f feat: 添加Footer组件并在RootLayout中引入,增强页面结构
style: 更新globals.css,调整sonner-toast背景颜色
fix: 修改request.ts中的日志级别为debug,优化错误信息输出
2025-07-28 11:44:50 +08:00
460ed87ad2 refactor: 优化extractText函数的类型声明,增强类型安全性 2025-07-28 11:24:57 +08:00
ceb8357dc8 refactor: 优化Dockerfile,合并COPY和RUN命令,简化构建过程 2025-07-28 11:18:01 +08:00
c702fc7664 refactor: 重构Dockerfile,合并构建阶段,简化依赖安装和构建逻辑 2025-07-28 11:13:30 +08:00
e1f3972541 refactor: 优化Dockerfile,简化依赖安装和构建逻辑,移除不必要的注释 2025-07-28 11:11:36 +08:00
b2fdca86f8 refactor: 简化Dockerfile中的依赖安装和构建逻辑,移除条件判断 2025-07-28 11:07:56 +08:00
cb5c92cfae fix: 修复加载语言文件时的警告信息,确保错误信息正确输出 2025-07-28 11:06:38 +08:00
812962eb84 feat: 添加代码高亮支持,优化Markdown渲染,新增滚动到顶部组件 2025-07-28 11:04:13 +08:00
ca8e1f92bd 🐛 Implement feature X to enhance user experience and optimize performance 2025-07-28 08:42:56 +08:00
a3403995c0 feat: 添加帖子元数据组件,优化帖子头部显示 2025-07-28 08:39:13 +08:00
89e2fbe0b9 feat: enhance post retrieval with authorization token
- Updated `getPostById` function to accept an optional authorization token.
- Modified `PostPage` to retrieve the token from cookies and pass it to the API call.
- Added smooth transition effects for background and text colors in `globals.css`.
- Cleaned up imports and formatting in `blog-home.tsx`.
- Refactored `blog-post.tsx` to use `MDXRemote` for rendering markdown content.
- Introduced `blog-comment.tsx` and `blog-post-header.client.tsx` components for better structure.
- Added a switch component for dark/light mode toggle in the navbar.
- Updated `Post` model to include a description field.
2025-07-28 08:30:37 +08:00
d73ed493be feat: 更新评论和帖子模型,添加用户信息和原创标识,优化API请求和组件结构 2025-07-28 06:22:07 +08:00
7918f04059 ️ feat: 在前端服务中添加端口映射,并在API客户端中记录后端URL 2025-07-26 10:30:36 +08:00