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

3.0 KiB
Raw Blame History

Dashboard: subscriptions

/dashboard/subscriptions · apps/{bull,bear}/src/app/(main)/dashboard/(investor)/subscriptions/page.tsx · Type: account · Layout: layout-dashboard-investor.md, layout-main.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)/subscriptions/loading.tsx: SkeletonPreset list of cards, 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
SubscriptionList viewer skeleton hydrate no in PartBoundary size="page" › AuthGuard role="investor" › <Suspense>; active and expired subscriptions from two browser reads (useSuspenseQueries), or SubscriptionsEmpty
↳ RenewalSheet viewer none hydrate no mounts when renew or reactivate opens, also from ?reactivate=<id>; its form has its own PartBoundary and <Suspense>; bull: a bottom sheet; bear: a modal
↳ SupportDialog — none hydrate no mounts when a subscription's support entry opens

Notes

  • bull's skeleton cards are md, bear's lg; the list differs only in layout.
  • A failed read replaces the list with the page-size error; the tabs stay (U2 ۳.۴).