Skip to content

Preload console route chunks on sidebar link hover - #2081

Merged
RhysSullivan merged 1 commit into
mainfrom
preload-console-routes-on-intent
Sep 20, 2026
Merged

RhysSullivan merged 1 commit into
mainfrom
preload-console-routes-on-intent

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Summary

  • Add shared TanStack Router options with defaultPreload: "intent" so code-split console routes start loading when a sidebar link is hovered.
  • Apply the shared options across desktop, cloud, self-host, and Cloudflare console routers.

This avoids the blank main area and loading spinner users see while a route chunk downloads after clicking a sidebar tab.

Test plan

  • Hover a sidebar link, then click it — navigation should feel instant with no full-page spinner flash.
  • Navigate via keyboard or ⌘K without hovering — may still briefly suspend on first visit to a route.
  • Confirm cloud, desktop, and self-host consoles still route normally.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing e4807c7 Commit Preview URL

Branch Preview URL
Sep 20 2026, 11:01 AM

@github-actions

github-actions Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud e4807c7 Sep 20 2026, 11:03 AM

@pkg-pr-new

pkg-pr-new Bot commented Sep 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@2081

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@2081

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@2081

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@2081

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@2081

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@2081

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@2081

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@2081

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@2081

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@2081

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@2081

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@2081

executor

npm i https://pkg.pr.new/executor@2081

commit: e4807c7

@RhysSullivan
RhysSullivan marked this pull request as ready for review September 20, 2026 11:05
@RhysSullivan
RhysSullivan merged commit 315ea3c into main Sep 20, 2026
44 checks passed
@RhysSullivan
RhysSullivan deleted the preload-console-routes-on-intent branch September 20, 2026 11:05
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