Skip to content

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants