Commit Graph
16 Commits
Author SHA1 Message Date
adminandClaude Fable 5 c0538ad8c3 feat(mobile): learning page fold round 2 — deepen APP-like compression
用户复查后继续压缩(折叠不删减):
- 岗位 SOP:要点默认只显示 2 条,与答案共用「展开全文(含N条要点)」
  开关(原要点全量常显,该面板 1122px 是首因)
- 训练前预习卡:默认只显示「要点」,红线/可说话术收进
  「展开红线与可说话术」(练前场景里预习卡与练页预习视图重复度高)
- 错题本默认 3→2 条(展开全部不变)
- 学习后动作:三个竖排大按钮改为一行三列

高度变化:5452(初始)→3890(第一轮)→3039px(本轮,累计 -44%);
剩余为 8 个功能面板骨架高度,继续压需砍面板,violates 不影响功能原则。
面板分布:错题本 701→544、岗位SOP 1122→738、预习卡 596→361、
学习后动作 234→116。

验证:本地折叠/展开断言全过 + 生产复核 height<3300、双折叠就位。
发布备份 h5-before-$TS。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 13:43:57 +08:00
adminandClaude Fable 5 dd3f39ef44 feat(mobile): learning page APP-ification (fold long content, batch 2 of app-like)
学习中心页(全站最长,实测 5452px)按「折叠不删减」治理:
- 岗位 SOP 长答案默认收起为 140 字预览+「展开全文/收起全文」
  (短答案不出现开关;切换主题自动复位)
- 学习资料段落(snippet)默认只显示标题行,点标题展开/收起正文;
  超长文档标题两行截断
- 错题本默认 3 条,「展开全部 N 条」可切换(随归因筛选联动)

实测页面高度 5452 → 3834(-30%),其余为八个功能面板固有高度,
继续压缩需删减面板,违背不影响功能原则,不做。
本地+生产复核:高度、段落默认收起、点击展开均通过。
发布备份 h5-before-$TS。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 09:44:30 +08:00
adminandClaude Fable 5 a90f241def fix(mobile): overnight audit round — IA cleanup, internal codes, exam guard
夜间自迭代体检(生产四tab+7子页,截图+console+接口+文案标志采集)
发现三类问题,本轮修复:

1. 信息架构(采纳用户建议):今日页「我的地图」四宫格三项与底部tab
   重复(问/练),仅学习中心/工作上报有增量 → 整块从今日页移除,
   「学习中心/我的训练概况/工作上报」下沉到「我」页新「常用功能」组
   (图标+标题+说明行,与我的积分同列);今日页保留小贴士条,
   页面高度显著缩短、不再与tab栏功能重复。

2. 内部编码泄漏:派发 reason 里的调度批次码(AUTO22-20260717
   PILOT-04)在今日「今日安排」、练页「最近练过」、学习中心
   「昨日错题重练」三处原样示人 → 新增 services/text.ts
   stripInternalCodes(剥前缀码保留人话,整行为码则回退默认文案),
   三处渲染点统一接入。

3. 功能不通:直接访问 /pages/user/exam/index(无id)会请求
   /api/aihr/mobile/exams/0 → 服务端500 → load() 增加 id 守卫,
   显示「请从学习中心·考试任务进入」且不再发请求。

同时:今日「打字问」描述改为不换行文案(原两行文案窄列截断)。

验证:本地7项断言全过;生产复核 map removed/code clean/
profile entries/exam guard/exams|0 not fired 全 true。
发布备份 h5-before-20260718055449。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 05:56:15 +08:00
admin 6bdc86e3fc feat: restore learning feedback and knowledge capabilities 2026-07-18 00:50:11 +08:00
admin 82d93a1af1 feat(aihr): allow employees to complete onboarding tasks 2026-07-15 02:49:40 +08:00
admin 40574c204d fix(aihr): separate onboarding and candidate review states 2026-07-15 02:39:29 +08:00
admin 747112910c feat(aihr): read formal position SOP mappings 2026-07-15 02:08:51 +08:00
admin ac7dfbe8a7 fix(aihr): preserve assignment source labels 2026-07-14 14:08:13 +08:00
admin afa99f1fec docs(aihr): record mistake retry state 2026-07-14 04:50:24 +08:00
admin 75f0f0615f fix(mobile): reflect completed mistake retries 2026-07-14 04:49:17 +08:00
admin c392bb3768 feat(mobile): filter practice mistakes by cause 2026-07-14 03:38:20 +08:00
admin f9bce8f0ef feat(aihr): expose position SOP learning scope 2026-07-14 03:29:59 +08:00
admin d98ff0ff8b feat(aihr): add employee mistake book audit 2026-07-14 03:23:49 +08:00
admin 19788bedb0 style(mobile): 优化候选人和成长页视觉细节
统一候选人、主管、案例、学习和我的成长页面中的状态色、徽标与摘要卡样式,不改变原有数据流和交互逻辑。
2026-07-11 01:13:57 +08:00
admin 0219de6fa8 fix(mobile): drive learning search from assignments 2026-07-10 02:20:56 +08:00
admin 4b951d07a0 feat(mobile): add employee learning page 2026-07-10 00:57:55 +08:00