richarjiang
fb85a5f30c
refactor(health): remove basalEnergyBurned from global state and move to local component
...
Remove basalEnergyBurned from global health data structure and refactor BasalMetabolismCard to fetch its own data locally. This decouples the component from global state and improves data locality.
- Remove basalEnergyBurned from HealthData interface and health utilities
- Update BasalMetabolismCard to use selectedDate prop and fetch data locally
- Simplify statistics screen by removing unused basalMetabolism variable
- Update nutrition radar card to use activeCalories only for burned calories calculation
2025-09-19 17:01:45 +08:00
..
2025-08-28 09:46:14 +08:00
2025-09-12 15:48:58 +08:00
2025-08-29 21:03:45 +08:00
2025-09-10 19:20:05 +08:00
2025-09-19 15:52:24 +08:00
2025-09-15 09:56:42 +08:00
2025-09-19 15:52:24 +08:00
2025-09-16 09:35:50 +08:00
2025-09-02 17:12:38 +08:00
2025-09-02 17:12:38 +08:00
2025-08-18 10:05:22 +08:00
2025-09-19 17:01:45 +08:00
2025-08-21 19:09:02 +08:00
2025-09-04 15:12:39 +08:00
2025-09-03 15:03:26 +08:00
2025-08-12 18:54:15 +08:00
2025-08-10 17:17:45 +08:00
2025-09-04 15:12:39 +08:00
2025-08-10 17:17:45 +08:00
2025-09-19 14:16:11 +08:00
2025-09-19 15:52:24 +08:00
2025-08-26 15:35:10 +08:00
2025-08-23 17:13:04 +08:00
2025-08-23 17:13:04 +08:00
2025-08-23 13:53:18 +08:00
2025-08-26 15:04:04 +08:00
2025-08-23 13:53:18 +08:00
2025-08-10 17:17:45 +08:00
2025-09-18 09:51:37 +08:00
2025-08-10 17:17:45 +08:00
2025-09-16 09:35:50 +08:00
2025-08-21 15:34:47 +08:00
2025-08-21 17:59:22 +08:00
2025-09-05 22:56:00 +08:00
2025-08-15 17:01:33 +08:00
2025-09-14 21:41:33 +08:00
2025-08-28 09:46:14 +08:00
2025-09-19 15:52:24 +08:00
2025-09-05 09:47:49 +08:00
2025-08-10 17:17:45 +08:00
2025-08-15 21:38:19 +08:00
2025-09-12 09:59:01 +08:00
2025-08-20 09:38:25 +08:00
2025-08-20 09:38:25 +08:00
2025-08-11 19:24:52 +08:00
2025-09-16 09:35:50 +08:00
2025-08-21 10:29:12 +08:00
2025-09-16 09:35:50 +08:00
2025-09-03 15:03:26 +08:00
2025-08-22 22:19:49 +08:00
2025-08-27 12:48:43 +08:00
2025-08-10 17:17:45 +08:00
2025-08-10 17:17:45 +08:00
2025-08-23 17:13:04 +08:00
2025-08-22 12:05:27 +08:00
2025-09-16 09:35:50 +08:00
2025-08-12 09:16:59 +08:00