wealth/docs/pages/wall-street-plaza/verifications.md

29 lines
3.2 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.

# Verifications
`/verifications` · `apps/wall-street-plaza/src/app/(panel)/verifications/page.tsx` · Type: account (back office) · Layout: [layout-panel.md](layout-panel.md)
| Field | Value |
| ----------- | -------------------------------------------------------------------------------- |
| Robots | `noindex` (root layout `metadata`, `src/configs/seo.ts`) |
| Status | `200`; an empty queue or a search with no match shows the empty state with `200` |
| loading.tsx | `(panel)/verifications/loading.tsx` |
| First flush | none |
| Canonical | none |
| H1 | `verification:queue.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 | |
| VerificationQueue | — | skeleton | hydrate | no | `AdminGuard` › `<Suspense>`; both fallbacks are `QueueSkeleton` (the table preset) |
| ↳ Status TabLinks | config | skeleton | hydrate | no | the status in the URL, `replace` |
| ↳ SearchField and SortMenu | — | skeleton | hydrate | no | in the URL; desktop: one row |
| ↳ VerificationRows | query | skeleton | hydrate | no | `useSuspenseQuery` behind its own `<Suspense>` and a `PartBoundary` keyed by the args; each row an `<a href>` to `/verifications/[id]`, keeping `?sort=`, and the row activates on click |
## Notes
- Debt: the guard's fallback (`verifications/page.tsx:21`, `QueueSkeleton`) has no boxes for the tabs, the search and the sort, so the table moves down when the admin is known. Give the fallback those rows.