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

28 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: following
`/dashboard/following` · `apps/{bull,bear}/src/app/(main)/dashboard/(investor)/following/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)/following/loading.tsx`: `SkeletonPreset` list rows, `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 |
| ----------------- | ------ | -------- | ------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| FollowingList | viewer | skeleton | hydrate | no | in `PartBoundary` (framed) › `AuthGuard role="investor"` › `<Suspense>`; each row links to its channel; «بیشتر» loads the next page (`useSuspenseInfiniteQuery`), or `FollowingEmpty`; unfollow freezes offline (0043) |
| ↳ UnfollowConfirm | viewer | none | hydrate | no | mounts when unfollow is tapped |
## Notes
- bull and bear differ only in `layout`.