24 lines
2.1 KiB
Markdown
24 lines
2.1 KiB
Markdown
|
|
# 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 |
|