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

24 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 |