25 lines
3.0 KiB
Markdown
25 lines
3.0 KiB
Markdown
# Invite codes
|
||
|
||
`/invite-codes` · `apps/wall-street-plaza/src/app/(panel)/invite-codes/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`; an unknown `?code=` shows the not-found state inside the side sheet, with `200` |
|
||
| loading.tsx | `(panel)/invite-codes/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 |
|
||
| ---------------------- | ----- | -------- | ------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||
| InviteCodes › CodeRows | query | skeleton | hydrate | no | `AdminGuard` › `<Suspense>` with `TableSkeleton`; the rows read with `useSuspenseQuery` behind their own `<Suspense>` and a `PartBoundary` keyed by search and page; `ListPager`; a code's link opens its detail through `?code=` (`replace`); a link to `/invite-codes/requests` |
|
||
| CodeDetailSheet | query | none | hydrate | no | a side `Sheet` while the URL has `?code=`; the code loads inside, behind its own skeleton and boundary |
|
||
| CodeDialogs | query | none | hydrate | no | `CapacityDialog` and `CodeReasonDialog`, mounted only while open |
|