wealth/docs/pages/wall-street-plaza/invite-codes-requests.md

24 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

2026-10-21 09:16:11 +00:00
# Invite codes: capacity requests
`/invite-codes/requests` · `apps/wall-street-plaza/src/app/(panel)/invite-codes/requests/page.tsx` · Type: account (back office) · Layout: [layout-panel.md](layout-panel.md), [layout-invite-codes.md](layout-invite-codes.md)
| Field | Value |
| ----------- | ---------------------------------------------------------- |
| Robots | `noindex` (root layout `metadata`, `src/configs/seo.ts`) |
| Status | `200`; no pending request shows the empty state with `200` |
| loading.tsx | `(panel)/invite-codes/requests/loading.tsx` |
| First flush | none |
| Canonical | none |
| H1 | in the layout's `PageHeader`: `codes:header.title` |
| JSON-LD | none |
| Scripts | none |
## Sections
The layout's header, search and tabs come first ([layout-invite-codes.md](layout-invite-codes.md)).
| Section | Data | HTML | JS | Index | Notes |
| ------------------------------ | ----- | -------- | ------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| CapacityRequests › RequestRows | query | skeleton | hydrate | no | `AdminGuard` › `<Suspense>` with `TableSkeleton`; the pending requests read with `useSuspenseQuery` behind their own `<Suspense>` and a `PartBoundary` keyed by search and page |
| CodeDialogs | query | none | hydrate | no | approve and reject, mounted only while open; a decision drops the row and lowers the tab's and the sidebar's counts together |