Skip to content

完善移动端个人中心与评分流程,补全雅思学习时长统计 - #90

Merged
yydounai1234 merged 4 commits into
1024XEngineer:mainfrom
fj-sunny:codex/aliyun-auth-integration
Aug 14, 2026
Merged

完善移动端个人中心与评分流程,补全雅思学习时长统计#90
yydounai1234 merged 4 commits into
1024XEngineer:mainfrom
fj-sunny:codex/aliyun-auth-integration

Conversation

@fj-sunny

Copy link
Copy Markdown
Contributor

Closes #89

改动内容

  • 移动端个人中心接入后端真实数据,完善头像、资料、学习目标、会员、助手设置和账号安全交互
  • 帮助中心新增分类及文章详情接口与移动端路由
  • 修复个人中心子页面返回后的菜单选中状态
  • 增加用户名修改弹窗并复用现有资料更新接口
  • 修复自定义场景评分录音状态与雅思专项评分展示
  • 对齐 React Native Worklets 依赖,稳定 Android 真机运行
  • 将 IELTS_SCENE 纳入周学习时长、训练次数及训练类型分布

验证

  • 移动端 TypeScript 类型检查通过
  • 移动端 41 个测试套件、193 项测试通过
  • 后端个人中心、帮助中心、安全配置相关 15 项测试通过
  • 移动端 Lint 无错误(保留 11 条既有警告)
  • Android 真机已验证帮助中心分类/文章跳转及用户名修改入口

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本次改动中的后端帮助中心、IELTS 周统计、录音释放与专项评分链路整体契约一致;后端定向测试、移动端相关测试及 TypeScript 检查均通过。头像选择流程仍存在一个会阻断部分合法图片上传的兼容性问题,已在对应代码处标注。

Additional findings

  • frontend/mobile/src/screens/ProfileScreen.tsx:196: [P2] 允许 MIME 类型缺失的合法头像: 这里把缺失的 asset.mimeType 转为空字符串并直接拒绝,但当前使用的 expo-image-picker 57.0.9 将 ImagePickerAsset.mimeType 定义为可选,并明确表示无法判断时可能为空。因此图库返回合法 JPEG/PNG、但没有 MIME 元数据时,用户会稳定收到“请选择 JPEG 或 PNG 图片”且无法上传头像。请在 MIME 缺失时根据 fileName/URI 扩展名推断,或允许提交后由服务端校验文件内容。

@yydounai1234 yydounai1234 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yydounai1234
yydounai1234 merged commit c21ad5e into 1024XEngineer:main Aug 14, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

完善移动端个人中心交互、评分流程与雅思学习时长统计

2 participants