Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

refactor(study): narrow core flow to upload and quick generation - #1

Draft
Sebastianhayashi wants to merge 12 commits into
feat/kimi-study-frontendfrom
codex/study-core-v1-subtraction
Draft

refactor(study): narrow core flow to upload and quick generation#1
Sebastianhayashi wants to merge 12 commits into
feat/kimi-study-frontendfrom
codex/study-core-v1-subtraction

Conversation

@Sebastianhayashi

Copy link
Copy Markdown
Owner

目标

把 Kimi Study 当前产品面收敛到最核心闭环:上传中文资料 → 默认 Quick 生成 → 查看大纲/课程 → 可选深入完善。

本次减法

  • 首页不再加载或展示 Catalog
  • 上传成功后自动选择 Quick,不再要求用户理解 Quick/Deep 模式
  • 删除未再使用的 StudyModeSelect.vue
  • 保留课程内“深入完善”,底层 Deep Skill 与历史课程兼容不变

非目标

  • 不做 API、多语言、账号、发布、分析、证书或完整编辑器
  • 不删除底层 Catalog 类型/Runtime,避免破坏历史绑定;只移除当前用户入口

基线

基于 df9b76b14,其已修复 Skill backup discovery、lesson index authority 与移动端学习布局。

验证要求

  • kimi-web tests
  • strict style
  • Study skill tests
  • production build/typecheck(若现有 workflow 未覆盖,合并前在真机补跑)

Sebastianhayashi and others added 12 commits July 18, 2026 19:40
- Fix ThinkingLevel | undefined type errors in App.vue and Composer.vue
  by falling back to model defaultThinkingLevelFor when no preference set
- Replace unregistered book icon with file-text in StudyProductHome.vue
- Add makeDirectory to KimiWebApi interface and daemon client
  (POST /sessions/{id}/fs:mkdir, FS_ALREADY_EXISTS as allowCode)
- Replace hardcoded style values with design tokens in study components:
  font-weight: 600/700 → var(--weight-semibold)
  border-radius: 3px → var(--radius-xs)
  border-radius: 50px !important → var(--radius-full)
  z-index: 20 → 1
- Fix no-confusing-void-expression lint error in study-runtime-foundation test
- Add 4 auto-Quick behavior tests: startCourse once, upload failure guard,
  selectMode failure recovery, historical course open unaffected
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant