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

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

# 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 ۴.۳).