wealth/docs/pages/wall-street-plaza/health.md

4.2 KiB
Raw Blame History

Beta health: main

/health · apps/wall-street-plaza/src/app/(panel)/health/page.tsx · Type: account (back office) · Layout: layout-panel.md

Field Value
Robots noindex (root layout metadata, src/configs/seo.ts)
Status 200; before the first day, the pre-launch state; with no start date, the not-scheduled state; both 200
loading.tsx (panel)/health/loading.tsx
First flush none
Canonical none
H1 health:title from i18n, in PageHeader
JSON-LD none
Scripts none

Sections

Section Data HTML JS Index Notes
PageHeader, with the H1 config first flush none no
↳ BetaSubtitle query skeleton hydrate no «روز ۱۸ از ۳۰ · …» from useBetaHeader, enabled once the admin is known and refetched every HEALTH_REFRESH_MS; the start date before the beta
↳ BetaUpdatedAt query skeleton hydrate no when the API last computed the metrics; nothing before the beta
HealthTabs config first flush hydrate no TabLinks to /health and /health/secondary; the guard's skeleton draws them too, so they work before the admin is known
BetaHealth query skeleton hydrate no AdminGuard › page-size PartBoundary › <Suspense>; useBetaHealthPage reads the overview with useSuspenseQuery and picks the parts, PreLaunch or NotScheduled
↳ ExitMetrics query skeleton hydrate no its own <Suspense> and framed PartBoundary; fails alone
↳ InvestorFunnel, with BetaTimeline query skeleton hydrate no the same
↳ BetaAnalysts query skeleton hydrate no the same

Notes

  • The header line and the page share the overview's query key, so the overview is read once. The header line stays empty when that read fails, since the page's boundary already says what failed.
  • /health is HOME_ROUTE: where a signed-in admin lands and where the brand links.