Read public dashboards directly in Server Components - #1185
Open
jasonhedman wants to merge 2 commits into
Open
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
jasonhedman
removed this pull request from stack #1183
September 9, 2026 14:39
jasonhedman
added this pull request to stack #1128
September 9, 2026 14:40
jasonhedman
marked this pull request as ready for review
September 9, 2026 14:43
jasonhedman
force-pushed
the
json/server-dashboard-reads
branch
from
September 9, 2026 15:02
644b97e to
fed3251
Compare
jasonhedman
force-pushed
the
json/server-dashboard-reads
branch
from
September 9, 2026 15:11
fed3251 to
bcaa3af
Compare
jasonhedman
force-pushed
the
json/server-dashboard-reads
branch
from
September 9, 2026 15:13
bcaa3af to
704bc37
Compare
jasonhedman
force-pushed
the
json/server-dashboard-reads
branch
from
September 9, 2026 19:14
704bc37 to
21ed50b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 checkpassed all 35 tasks (255 app tests), including UI contract/integrity; productionnext buildpassed 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 (28P01authentication failure); the local AgentCash catalog was also unavailable.