Skip to content

perf(website): defer offscreen avatar loading - #121

Closed
chenjiahan wants to merge 1 commit into
mainfrom
chenjiahan/lazy-load-avatars
Closed

chenjiahan wants to merge 1 commit into
mainfrom
chenjiahan/lazy-load-avatars

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Timeline avatars already use native lazy loading, but its preload distance still downloads avatars in offscreen virtual rows. Set each avatar's src only when it is within 200px of the viewport, preserving its 28×28 placeholder and existing styles.

Validated with pnpm check, pnpm --filter ecosystem-ci-website exec tsc --noEmit, pnpm build:website, and browser checks for scrolling and stack switching using a local history snapshot.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T07:16:46.490366Z e307464 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://chenjiahan-lazy-load-avatars-rstack-ecosystem-ci.rstack.workers.dev (commit e307464)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://99318569-rstack-ecosystem-ci.rstack.workers.dev e307464 2026-11-11T07:15:54.077Z Visit the dashboard ↗

@chenjiahan chenjiahan closed this Nov 11, 2026
@chenjiahan
chenjiahan deleted the chenjiahan/lazy-load-avatars branch November 11, 2026 07:20
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.

1 participant