Skip to content

Defer dashboard chart layout and retain Trends calendar data - #20

Closed
AlexSchmidt1999 wants to merge 3 commits into
codex/apple-chart-performancefrom
codex/apple-dashboard-performance
Closed

AlexSchmidt1999 wants to merge 3 commits into
codex/apple-chart-performancefrom
codex/apple-dashboard-performance

Conversation

@AlexSchmidt1999

@AlexSchmidt1999 AlexSchmidt1999 commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Today and Trends passed one eager inner card column to their lazy screen scaffold, so entering the screen still laid out the whole card list. Use native LazyVStack for both inner columns, keeping existing content, spacing, section order and gestures. Reuse Trends' existing generation/range/day/locale cache for calendar dates, and retain date-based calendar identities across redraws. Performance-capture start lines now include the installed version/build for future comparisons.

Validation: combined Release iOS app/widgets/watch build and macOS build pass; 31 targeted app tests pass; 133 design tests pass, excluding one pre-existing English-only word expectation on this German host. A reduced native macOS probe lays out 3 rather than 14 cards initially, and materializes more when scrolling. Source, binary (four bundles), localization and doc-comment checks pass. No dependency, background watcher or new user setting.

Build 447 includes this change and the stacked native-chart PR #19. It is installed and launched on the owner's iPhone; a fresh local archive confirms captureStart version=12.0.0 build=447. Local ordinary-use captures contain about 37.5 sampled minutes on Today and 4.3 on Trends and confirm intermittent callback stalls. Their build version was not recorded, so they are not a controlled before/after comparison. Repeat iPhone scrolling is still needed before claiming smooth device performance. Details and privacy boundaries are in docs/FORK_PERFORMANCE_TESTING.md; raw data remains local.

Fork-only test version. Android is outside the requested scope. No upstream PR, release, or resumed build automation.

@AlexSchmidt1999

Copy link
Copy Markdown
Owner Author

Closing this older fork test PR. Its full head (73d548d6a3a2) is included in the combined test branch. New test-version work continues in #28. The branch and commits are kept.

The relevant changes are now submitted for upstream review in #2638, #2764.

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