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

chore: reduce scroll frame drops on Home and Health views - #4

Open
apurv-1 wants to merge 1 commit into
b-nnett:mainfrom
apurv-1:smooth-ui
Open

chore: reduce scroll frame drops on Home and Health views#4
apurv-1 wants to merge 1 commit into
b-nnett:mainfrom
apurv-1:smooth-ui

Conversation

@apurv-1

@apurv-1 apurv-1 commented Jun 3, 2026

Copy link
Copy Markdown
  • Slow BLE UI publish interval from 0.2s to 1.0s to stop 5x/sec main-thread redraws across all observing views
  • Cache landingSnapshots, cardioLoadWeeklyPoints, and healthMonitorSnapshots in @State in HomeDashboardView and HealthView; refresh only on appear, data change, or live HR change instead of recomputing on every scroll frame

- Slow BLE UI publish interval from 0.2s to 1.0s to stop 5x/sec
  main-thread redraws across all observing views
- Cache landingSnapshots, cardioLoadWeeklyPoints, and
  healthMonitorSnapshots in @State in HomeDashboardView and HealthView;
  refresh only on appear, data change, or live HR change instead of
  recomputing on every scroll frame
goamorim added a commit to goamorim/goose that referenced this pull request Jun 3, 2026
mitchellfgibson added a commit to mitchellfgibson/whoop that referenced this pull request Jun 15, 2026
b-nnett#3 (v2.8.6): v26 PpgHr record-rate notch (#194) — de-artifact the per-record
comb before autocorrelation so a sub-60-bpm sleeper can't snap to a false
60 bpm; gated on a record-boundary discontinuity so a true 60 is preserved.

b-nnett#4 (v4.0.0): port FitnessAgeEngine + VitalityEngine (HUNT-study VO2max /
fitness-age regression + a hazard-weighted Body Age) verbatim, and surface a
self-contained Vitality / Body Age hero on the Health Monitor screen that
computes live from the last 14 days of repo.days + profile — no precompute
pipeline needed. Honest: a fitness comparison, not a biological/medical age.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants