feat(app): 新增HRV压力提醒设置与锻炼记录分享功能

- 通知设置页面新增 HRV 压力提醒开关,支持自定义开启或关闭压力监测推送
- 锻炼详情页集成分享功能,支持将运动数据生成精美长图并分享
- 优化 HRV 监测服务逻辑,在发送通知前检查用户偏好设置
- 更新多语言配置文件,添加相关文案翻译
- 将应用版本号更新至 1.1.5
This commit is contained in:
richarjiang
2025-12-16 11:27:11 +08:00
parent 409f125db1
commit 5e11da34ee
9 changed files with 569 additions and 122 deletions

View File

@@ -394,6 +394,10 @@ export const notificationSettings = {
title: 'Nutrition Record Reminder',
description: 'Receive nutrition record reminders at meal times',
},
hrvReminder: {
title: 'HRV Stress Alert',
description: 'Get guidance when elevated stress is detected from HRV',
},
moodReminder: {
title: 'Mood Record Reminder',
description: 'Receive mood record reminders in the evening',
@@ -415,6 +419,7 @@ export const notificationSettings = {
saveFailed: 'Failed to save settings',
medicationReminderFailed: 'Failed to set medication reminder',
nutritionReminderFailed: 'Failed to set nutrition reminder',
hrvReminderFailed: 'Failed to set HRV reminder',
moodReminderFailed: 'Failed to set mood reminder',
},
notificationsEnabled: {
@@ -429,6 +434,10 @@ export const notificationSettings = {
title: 'Nutrition Reminder Enabled',
body: 'You will receive nutrition record reminders at meal times',
},
hrvReminderEnabled: {
title: 'HRV Reminder Enabled',
body: 'You will get tips when elevated stress is detected from HRV',
},
moodReminderEnabled: {
title: 'Mood Reminder Enabled',
body: 'You will receive mood record reminders in the evening',