Skip to content

Read public dashboards directly in Server Components - #1185

Open
jasonhedman wants to merge 2 commits into
json/lazy-trpc-authfrom
json/server-dashboard-reads
Open

jasonhedman wants to merge 2 commits into
json/lazy-trpc-authfrom
json/server-dashboard-reads

Conversation

@jasonhedman

@jasonhedman jasonhedman commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Read public dashboard data directly through the existing native cached service functions in Server Components, then pass results to interactive charts and tables. This removes tRPC prefetch, hydration wrappers, and suspense query hooks from Discover, Networks, Facilitators, facilitator details, and server details.

Keep URL-driven filters, sorting and pagination, component-level Suspense boundaries, and existing matching skeletons. Independent statistics reads run concurrently. Service schemas supply the same defaults as the previous router calls; server-origin validation remains shared with metadata.

Review the route-local async data components first, then their client views. The server overview test checks immediate shell rendering, concurrent analytics reads, and missing-origin behavior. This PR depends on the preceding lazy-auth PR and native cache stack.

Validation: pnpm check passed all 35 tasks (255 app tests), including UI contract/integrity; production next build passed and reports partial prerendering for the public routes. Independent review found no actionable issues. Browser verification confirmed Networks rendering, URL timeframe changes, matching loading states, and refreshed data. Full service-list/detail validation remains blocked by the configured scan database credentials (28P01 authentication failure); the local AgentCash catalog was also unavailable.

@vercel

vercel Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
x402scan Ready Ready Preview Sep 25, 2026 4:19pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 7d930d03 Deployed Sep 25, 2026 by vercel[bot]
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