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

27 lines
2.0 KiB
Markdown

# Settings
`/settings` · `apps/wall-street-plaza/src/app/(panel)/settings/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` |
| loading.tsx | `(panel)/settings/loading.tsx` |
| First flush | none |
| Canonical | none |
| H1 | `settings:page.title` from i18n, in `PageHeader` |
| JSON-LD | none |
| Scripts | none |
## Sections
| Section | Data | HTML | JS | Index | Notes |
| -------------- | ------ | ----------- | ------- | ----- | ------------------------------------------------------------------------------------------------- |
| PageHeader | config | first flush | none | no | title and subtitle |
| PriceFloorCard | viewer | skeleton | hydrate | no | `AdminGuard`, `PartBoundary`, `Suspense`; `GET /admin/settings/price-floor` in the browser (0062) |
| Raise preview | viewer | none | hydrate | no | on a raise, a dry run `PUT` once the value stands still 400 ms; warning and table |
| Confirm dialog | viewer | none | hydrate | no | `ReasonDialog`, reason of 10 characters at least, audited as `settings.price_floor_changed` |
- A lower floor shows no preview, since nothing changes until analysts edit.
- «ذخیره» stays frozen, with its reason, on an invalid or unchanged value, or until a raise's preview is in.