Преглед изворни кода

chore: auto bump version and changelog [skip ci]

iwt пре 16 часа
родитељ
комит
0ddf06bf73

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-d2cb89ebef7a38fed3584ea9c1891400cc7e16d0
+379184e3af2b52cec9b1f01302ff4dcd11f9d897

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1579",
+  "version": "1.0.1580",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.1579",
+      "version": "1.0.1580",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1580",
+  "version": "1.0.1581",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 64 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,70 @@
 
 ---
 
+## v1.0.1581 (2026-10-12)
+
+### Bug 修复
+- 修复辈分关系和出生日期保存回显问题
+- 透明无边框/右键菜单/任务栏图标/默认接口/点击完成待办
+- 修复 isAdmin 恒为 false 的 bug,并清理新增的修改关系入口
+- 首页合并冲突采用 feed 集成方案,移除浮动通知条
+- 对齐真实后台接口契约(任务/能量/吉祥物/喝水)
+
+### 其他
+- - 修复 UserService.updateFamilyMember:在管理员权限下保存 generationLevel/peerType
+- - 新增 FamilyMemberVO.birthday 字段,并回显至前端
+- - 修复 FamilyMemberService.toFamilyMemberVO:回写 birthday 为 yyyy-MM-dd 字符串
+- - 前端 family-members.vue onEditRelation:传递 birthday/generationLevel 在 URL
+- - 前端 add-member.vue onLoad:从 options 回显 birthday/generationLevel
+- - 前端 family-members.vue:修复 userId 取值(.id→.userId),移除修改关系入口
+- 
+- - api/mod.rs: upload_media(multipart); api/models.rs: MediaRecord
+- - settings.rs: AppSettings.custom_mascot_url 持久化
+- - commands.rs: upload_mascot/clear_custom_mascot; get_settings 返回 customMascotUrl
+- - settings.html: 形象选择+预览+上传/恢复默认 UI; 窗口高度 340->470
+- - pet-engine.js: setCustomImage 优先渲染自定义形象; bridge.js 监听 pet://custom-image 并启动加载
+- 
+- - index.html/interactions.js: 背景透明 + 右键菜单(设置/鼠标穿透/退出)
+- - commands.rs/main.rs: open_settings/quit_app 命令; 点击宠物优先完成待办任务
+- - poller.rs: 到期任务提醒并记录可一键完成的 pending_task
+- - settings.rs/settings.html: 默认接口地址改为 https://cfc.cf-club.com
+- - api/mod.rs: complete_task 封装
+- 
+- - 移除修改关系弹窗及入口:用户确认改用编辑资料,清理相关代码
+- - 恢复 GenerationPicker 注册(编辑资料流程必需)
+- - add-member.vue: modal-link 颜色改为品牌橙 #F97316
+- 
+- - Backend: IndicatorController source-types endpoint
+- - Backend: schema.sql delete duplicate report_format L1829
+- - Backend: DanReportUploadService compareUploads(new) + DanReportController /compare
+- - Frontend: indicator-curve.vue reportTypeOptions dynamic (source-types) + fallback
+- - Frontend: indicator-curve.vue skipGaps >0 display + rank-empty tip
+- - Frontend: dan-assessment/comparison.vue + pages.json registration
+- - Frontend: utils/api.js getIndicatorSourceTypes wrapper
+- 
+
+### 新功能
+- 设置内自定义宠物形象上传(复用 /api/media/upload)
+- DAN compare + indicator curve dynamic types + skipGaps + schema cleanup
+- JS<->Rust 桥接、设置窗口与命令实现
+- 托盘菜单、单实例与主进程组装
+- 轮询器(任务/能量/喝水)与 AppState
+- ApiClient 端点封装与响应解析
+- 设置文件读写与默认值
+- keyring 令牌存储(双平台)
+- 宠物形象配置解析(真实 JSON 测试)
+- 宠物状态映射与优先级测试
+- API serde 模型层与解析测试
+- Tauri v2 脚手架与双平台窗口配置
+
+### 重构
+- TrendChart 移入 pages/health 子包并更新引用
+- 移除已退役的 WPF 版
+
+### 文档
+- 双平台 CI、分发说明与 README
+
+
 ## v1.0.1580 (2026-10-12)
 
 ### Bug 修复

+ 65 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.1580
+> 当前版本: v1.0.1581
 
 ## 历史版本
 
@@ -8,6 +8,70 @@
 
 ---
 
+## v1.0.1581 (2026-10-12)
+
+### Bug 修复
+- 修复辈分关系和出生日期保存回显问题
+- 透明无边框/右键菜单/任务栏图标/默认接口/点击完成待办
+- 修复 isAdmin 恒为 false 的 bug,并清理新增的修改关系入口
+- 首页合并冲突采用 feed 集成方案,移除浮动通知条
+- 对齐真实后台接口契约(任务/能量/吉祥物/喝水)
+
+### 其他
+- - 修复 UserService.updateFamilyMember:在管理员权限下保存 generationLevel/peerType
+- - 新增 FamilyMemberVO.birthday 字段,并回显至前端
+- - 修复 FamilyMemberService.toFamilyMemberVO:回写 birthday 为 yyyy-MM-dd 字符串
+- - 前端 family-members.vue onEditRelation:传递 birthday/generationLevel 在 URL
+- - 前端 add-member.vue onLoad:从 options 回显 birthday/generationLevel
+- - 前端 family-members.vue:修复 userId 取值(.id→.userId),移除修改关系入口
+- 
+- - api/mod.rs: upload_media(multipart); api/models.rs: MediaRecord
+- - settings.rs: AppSettings.custom_mascot_url 持久化
+- - commands.rs: upload_mascot/clear_custom_mascot; get_settings 返回 customMascotUrl
+- - settings.html: 形象选择+预览+上传/恢复默认 UI; 窗口高度 340->470
+- - pet-engine.js: setCustomImage 优先渲染自定义形象; bridge.js 监听 pet://custom-image 并启动加载
+- 
+- - index.html/interactions.js: 背景透明 + 右键菜单(设置/鼠标穿透/退出)
+- - commands.rs/main.rs: open_settings/quit_app 命令; 点击宠物优先完成待办任务
+- - poller.rs: 到期任务提醒并记录可一键完成的 pending_task
+- - settings.rs/settings.html: 默认接口地址改为 https://cfc.cf-club.com
+- - api/mod.rs: complete_task 封装
+- 
+- - 移除修改关系弹窗及入口:用户确认改用编辑资料,清理相关代码
+- - 恢复 GenerationPicker 注册(编辑资料流程必需)
+- - add-member.vue: modal-link 颜色改为品牌橙 #F97316
+- 
+- - Backend: IndicatorController source-types endpoint
+- - Backend: schema.sql delete duplicate report_format L1829
+- - Backend: DanReportUploadService compareUploads(new) + DanReportController /compare
+- - Frontend: indicator-curve.vue reportTypeOptions dynamic (source-types) + fallback
+- - Frontend: indicator-curve.vue skipGaps >0 display + rank-empty tip
+- - Frontend: dan-assessment/comparison.vue + pages.json registration
+- - Frontend: utils/api.js getIndicatorSourceTypes wrapper
+- 
+
+### 新功能
+- 设置内自定义宠物形象上传(复用 /api/media/upload)
+- DAN compare + indicator curve dynamic types + skipGaps + schema cleanup
+- JS<->Rust 桥接、设置窗口与命令实现
+- 托盘菜单、单实例与主进程组装
+- 轮询器(任务/能量/喝水)与 AppState
+- ApiClient 端点封装与响应解析
+- 设置文件读写与默认值
+- keyring 令牌存储(双平台)
+- 宠物形象配置解析(真实 JSON 测试)
+- 宠物状态映射与优先级测试
+- API serde 模型层与解析测试
+- Tauri v2 脚手架与双平台窗口配置
+
+### 重构
+- TrendChart 移入 pages/health 子包并更新引用
+- 移除已退役的 WPF 版
+
+### 文档
+- 双平台 CI、分发说明与 README
+
+
 ## v1.0.1580 (2026-10-12)
 
 ### Bug 修复