Skip to content

Make the Stats traffic card list lazy - #25938

Merged
crazytonyli merged 2 commits into
trunkfrom
task/stats-lazy-card-list
Aug 26, 2026
Merged

Make the Stats traffic card list lazy#25938
crazytonyli merged 2 commits into
trunkfrom
task/stats-lazy-card-list

Conversation

@crazytonyli

@crazytonyli crazytonyli commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

This change is extracted out from the #25931. I will iterate the chart skeleton view on #25931, and land this small change first.

Building all traffic cards eagerly during the navigation push made the
first open of the new Stats screen noticeably slow: the off-screen
Locations card created a WKWebView (spawning a WebContent process)
before it was ever visible. A lazy stack defers each card until it
scrolls into view, cutting the measured tap-to-screen time on a fresh
install by about a quarter.
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ View files have been modified, but no screenshot or video is included in the pull request. Consider adding some for clarity.
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@crazytonyli
crazytonyli requested a review from jkmassel August 25, 2026 22:09
@crazytonyli crazytonyli added this to the 27.3 milestone Aug 25, 2026
@crazytonyli
crazytonyli marked this pull request as ready for review August 25, 2026 22:09
@crazytonyli
crazytonyli enabled auto-merge August 25, 2026 22:10
@crazytonyli
crazytonyli disabled the stack merge August 25, 2026 22:17
@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number33949
VersionPR #25938
Bundle IDorg.wordpress.alpha
Commitbcad1e4
Installation URL5h39msaud1km8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number33949
VersionPR #25938
Bundle IDcom.jetpack.alpha
Commitbcad1e4
Installation URL3h4abo5lqpjk0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@crazytonyli
crazytonyli added this pull request to the merge queue Aug 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 25, 2026
@crazytonyli
crazytonyli added this pull request to the merge queue Aug 25, 2026
Merged via the queue into trunk with commit c4502a7 Aug 26, 2026
30 checks passed
@crazytonyli
crazytonyli deleted the task/stats-lazy-card-list branch August 26, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants