wealth/docs/pages/market/dashboard-transactions.md

29 lines
2.8 KiB
Markdown
Raw Permalink Normal View History

2026-10-21 09:16:11 +00:00
# Dashboard: transactions
`/dashboard/transactions` · `apps/{bull,bear}/src/app/(main)/dashboard/(investor)/transactions/page.tsx` · Type: account · Layout: [layout-dashboard-investor.md](layout-dashboard-investor.md), [layout-main.md](layout-main.md), [layout.md](layout.md)
| Field | Value |
| ----------- | ----------------------------------------------------------------------------------------------------------------------- |
| Robots | `noindex` (page `metadata`) |
| Status | `200` for every viewer: a guest is sent to login in the browser, a creator sees `AuthGuard`'s page-size no-access state |
| loading.tsx | `(investor)/transactions/loading.tsx`: `SkeletonPreset` list rows without avatars, `delayed` |
| First flush | none |
| Canonical | none: `noindex` |
| H1 | bull: none (see the layout doc); bear: «داشبورد» in the layout |
| JSON-LD | none |
| Scripts | none beyond the layout's |
## Sections
In bull's document order.
| Section | Data | HTML | JS | Index | Notes |
| ------------------- | ------ | -------- | ------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| TransactionList | viewer | skeleton | hydrate | no | in `PartBoundary size="page"` › `AuthGuard role="investor"` › `<Suspense>`; status chips in `?status=`, «بیشتر» loads the next page (`useSuspenseInfiniteQuery`), or `TransactionsEmpty` |
| ↳ TransactionDetail | viewer | none | hydrate | no | mounts when a row opens |
## Notes
- bull and bear differ only in `layout`.
- A failed read replaces the list, without the chips; the tabs stay (U4 ۴.۳).