Commit Graph

6 Commits

Author SHA1 Message Date
imeepos a529dc03e1 fix: update @repo/sdk to version 1.0.14 and adjust build scripts for production
feat: modify TemplateCard and TemplateGrid to handle optional id and filter templates
refactor: clean up use-template-filter to use CategoryTemplate type
2026-01-26 16:40:32 +08:00
imeepos 2757b68756 feat: add TemplateGrid and TitleBar components with tests
- Implemented TemplateGrid component for displaying templates in a grid layout.
- Added calculateCardWidth helper function for dynamic card sizing.
- Created TitleBar component for displaying the title and points with interaction.
- Added unit tests for TemplateGrid and TitleBar components to ensure proper functionality.
- Introduced useStickyTabs and useTabNavigation hooks with tests for managing sticky tab behavior and navigation logic.
- Implemented useTemplateFilter hook for filtering templates based on video content.
- Added comprehensive tests for all new hooks and components to validate behavior and edge cases.
2026-01-26 12:43:20 +08:00
imeepos 8c43b9daf0 fix: bug 2026-01-20 17:21:09 +08:00
imeepos 37a4a2f807 fix: 成功对接登录接口 2026-01-13 16:25:49 +08:00
imeepos 2d0a21205f feat: 添加认证错误 i18n 翻译
- 添加常见认证错误代码的翻译(中英文)
- 修改 AuthForm 组件处理错误代码
- 支持的错误类型:
  - INVALID_USERNAME_OR_PASSWORD: 用户名或密码错误
  - USER_NOT_FOUND: 用户不存在
  - EMAIL_ALREADY_EXISTS: 邮箱已被注册
  - USERNAME_ALREADY_EXISTS: 用户名已被占用
  - WEAK_PASSWORD: 密码强度不够
  - INVALID_EMAIL: 邮箱格式不正确
  - VALIDATION_ERROR: 输入信息格式错误
  - NETWORK_ERROR: 网络连接失败
  - UNKNOWN_ERROR: 未知错误

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-13 16:05:30 +08:00
imeepos 02d0c807cd Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00