Skip to content

Commit 60504e3

Browse files
committed
feat: v0.6.0 — 沉浸式计时、自动更新、音效系统、品牌视觉升级与开源许可切换
UI/UX 视觉升级(v0.6.0 核心): - 沉浸式计时器(ImmersiveTimer)全新组件 - 品牌 Logo(BrandLogo)与 AI 按钮(AIButton) - 知识星系(KnowledgeGalaxy)可视化 - 页面过渡动效(PageTransition) - 模式指示器(ModeIndicator) - 滑动退出(SlideToExit)交互 - 全量 UI 组件优化(Button、Card、Toast、CommandPalette 等) 自动更新系统: - Electron 自动更新器(updater.ts) - 更新通知组件(UpdateNotification) - AI 处理器(aiHandlers.ts)与 IPC 工具(ipcUtils.ts) - 日志系统(logger.ts) 音效系统: - 统一音效播放器(SoundPlayer.ts) - 音效资源迁移至 client/public/sounds/ - 音效设置页面(SoundSettings.tsx) 合规与隐私: - 许可证从 Private 切换为 Apache 2.0 开源 - 新增隐私政策页面(PrivacyPolicy.tsx) - 新增服务条款页面(TermsOfService.tsx) - 用户同意弹窗(ConsentModal.tsx) README 更新: - 版本徽章升级至 v0.6.0 - 许可证徽章更新为 Apache-2.0 - 路线图新增 v0.5.0、v0.6.0 已完成行 其他: - 番茄钟、笔记、闪卡、费曼模块交互优化 - 仪表盘效率图表升级 - 源码文档生成脚本(generate_source_code_doc.ps1) - useReducedMotion 无障碍 Hook
1 parent 30c175e commit 60504e3

102 files changed

Lines changed: 4096 additions & 1066 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<p align="center"><strong>你的 AI 智能学习伙伴 — 让每一分钟网课都高效有价值</strong></p>
44
<p align="center">
55
<img src="https://img.shields.io/badge/status-beta-green.svg" alt="Status" />
6-
<img src="https://img.shields.io/badge/version-v0.4.0-blue.svg" alt="Version" />
6+
<img src="https://img.shields.io/badge/version-v0.6.0-blue.svg" alt="Version" />
77
<img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="License" />
88
</p>
99
</p>
@@ -163,6 +163,8 @@ KeBan/
163163
| **MVP-1 Alpha** | ✅ 已完成 | 纯本地核心版 — 四大模块 + 离线支持 + 本地存储 |
164164
| **MVP-2 Alpha** | ✅ 已完成 | AI 增强 + 云同步 + Electron 桌面端 + 用户认证 |
165165
| **v0.4.0 Beta** | ✅ 已完成 | 网课笔记提取 + ContextMenu 2.0 + AuthGuard + 动效系统 + 反馈面板 |
166+
| **v0.5.0** | ✅ 已完成 | 安全加固 + 效率分析 + 全局命令面板 + 灵感空间 + 上云部署 |
167+
| **v0.6.0** | ✅ 已完成 | 沉浸式计时 + 自动更新 + 音效系统 + 隐私政策 + 品牌视觉升级 |
166168
| **正式上线** | 🎯 规划中 | 生产就绪版 |
167169

168170
### 🔮 未来方向
@@ -181,8 +183,8 @@ KeBan/
181183
| 组成部分 | 含义 | 示例 |
182184
|----------|------|------|
183185
| `MAJOR` | 不兼容的 API 变更 | `1.0.0` |
184-
| `MINOR` | 向后兼容的功能新增 | `0.4.0` |
185-
| `PATCH` | 向后兼容的缺陷修复 | `0.4.1` |
186+
| `MINOR` | 向后兼容的功能新增 | `0.5.0` |
187+
| `PATCH` | 向后兼容的缺陷修复 | `0.5.1` |
186188

187189
发布 Tag 前请确保:`npm run lint` / `npm run test` / `npm run build` 全部通过。
188190

‎client/electron-builder.yml‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
# Electron Builder 打包配置 - 课伴桌面端
22
appId: com.keban.app
33
productName: "课伴"
4+
# publish 配置用于自动更新发布,待部署更新服务器后启用
5+
# publish:
6+
# provider: generic
7+
# url: ${env.PUBLISH_URL}
48
directories:
59
output: release
610
buildResources: build
711
files:
812
- dist/**/*
913
- dist-electron/**/*
1014
- app-icon.png
15+
# 图标说明:
16+
# app-icon.png 为统一源文件(1024x1024 方形 PNG)。
17+
# electron-builder 会自动将其转换为各平台所需格式:
18+
# - Windows: .ico(含多分辨率)
19+
# - macOS: .icns
20+
# - Linux: 多分辨率 PNG
1121
win:
1222
target:
1323
- target: nsis
1424
arch:
1525
- x64
16-
icon: build/icon.ico
26+
icon: app-icon.png
27+
mac:
28+
icon: app-icon.png
29+
linux:
30+
icon: app-icon.png
1731
nsis:
1832
oneClick: false
1933
allowToChangeInstallationDirectory: true
20-
installerIcon: build/icon.ico
21-
uninstallerIcon: build/icon.ico
22-
installerHeaderIcon: build/icon.ico
34+
# installerIcon/uninstallerIcon/installerHeaderIcon 省略
35+
# electron-builder 会自动从 win.icon 派生 NSIS 所需的 .ico 文件
2336
createDesktopShortcut: true
2437
shortcutName: "课伴"
2538
perMachine: false

0 commit comments

Comments
 (0)