3.4 KiB
3.4 KiB
Payouts
/payouts · apps/wall-street-plaza/src/app/(panel)/payouts/page.tsx · Type: account (back office) · Layout: layout-panel.md
| Field | Value |
|---|---|
| Robots | noindex (root layout metadata, src/configs/seo.ts) |
| Status | 200; an unknown ?id= shows the not-found state inside the side sheet, with 200 |
| loading.tsx | (panel)/payouts/loading.tsx |
| First flush | none |
| Canonical | none |
| H1 | payouts:page.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 | the title and the weekly rule |
| ↳ PayoutsSearch | — | first flush | hydrate | no | the analyst search in the URL; it searches whichever tab is open |
| PayoutsBoard | — | skeleton | hydrate | no | AdminGuard › <Suspense>; both fallbacks are PayoutsSkeleton (the table preset) |
| ↳ TabLinks | config, query | skeleton | hydrate | no | four tabs in the URL, replace; «آماده» shows the sidebar's ready count; mobile: the row scrolls |
| ↳ ReadyRows or PayoutRows | query | skeleton | hydrate | no | useSuspenseQuery behind its own <Suspense> and a PartBoundary keyed by tab, search and page |
| PayoutDetailSheet | query | none | hydrate | no | a side Sheet while the URL has ?id=; the payout loads inside; a link to its receipt |
| CreatePayoutDialog, MarkPaidDialog, CancelPayoutDialog | query | none | hydrate | no | mounted only while open |
Notes
- Debt: the guard's fallback (
payouts/page.tsx:20,PayoutsSkeleton) has no row for the tabs thatPayoutsBoarddraws, so the table moves down when the admin is known. DrawTabLinksin the fallback, asBetaHealthSkeletondoes. - Debt:
payouts/loading.tsx:10draws the header withoutPayoutsSearch, so the header can change height when the page arrives.