Files
explorer/src/app/zxdb/page.tsx
D. Rimron-Soutter ad77b47117 chore: commit pending ZXDB explorer changes prior to index perf work
Context
- Housekeeping commit to capture all current ZXDB Explorer work before index-page performance optimizations.

Includes
- Server-rendered entry detail page with ISR and parallelized DB queries.
- Node runtime for ZXDB API routes and params validation updates for Next 15.
- ZXDB repository extensions (facets, label queries, category queries).
- Cross-linking and Link-based prefetch across ZXDB UI.
- Cache headers on low-churn list APIs.

Notes
- Follow-up commit will focus specifically on speeding up index pages via SSR initial data and ISR.

Signed-off-by: Junie@lucy.xalior.com
2025-12-12 15:25:35 +00:00

15 lines
432 B
TypeScript

import ZxdbExplorer from "./ZxdbExplorer";
import { searchEntries } from "@/server/repo/zxdb";
export const metadata = {
title: "ZXDB Explorer",
};
export const revalidate = 3600;
export default async function Page() {
// Server-render initial page (no query) to avoid first client fetch
const initial = await searchEntries({ page: 1, pageSize: 20, sort: "id_desc" });
return <ZxdbExplorer initial={initial as any} />;
}