wealth/docs/pages/wall-street-plaza/analysts-id.md

3.1 KiB
Raw Blame History

Analyst

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

Field Value
Robots noindex (root layout metadata, src/configs/seo.ts)
Status 200, also for an unknown id: the browser read's 404 shows the not-found state in the page's PartBoundary
loading.tsx (panel)/analysts/[id]/loading.tsx
First flush none; the page entry awaits only params
Canonical none
H1 in the browser, the analyst's fullName (AnalystDetail); the server HTML's skeleton has analysts:detail.title
JSON-LD none
Scripts none

Sections

One read, useAnalystDetailPage(id) with useSuspenseQuery, fills every row. AdminGuard › PartBoundary › <Suspense>, all with DetailSkeleton: a PageHeader with the generic title and the back link, over two card skeletons.

Section Data HTML JS Index Notes
PageHeader, with the H1 query skeleton hydrate no the name, @username, the back link to /analysts; desktop: the account states and the one account action at its end
AccountBadges and AccountActionButton (mobile) query skeleton hydrate no desktop:hidden; full width under the title
AnalystFacts query skeleton hydrate no the 432px column on desktop
AuditLog query skeleton hydrate no garden-roof screens/AuditLog, beside the facts on desktop
AccountDialogs query none hydrate no suspend and reinstate, mounted only while open; the page updates in place