wealth/docs/pages/market/account-notifications.md

3.0 KiB

تنظیمات اعلان‌ها (notification settings)

/account/notifications · apps/{bull,bear}/src/app/(main)/account/notifications/page.tsx · Type: account · Layout: layout-main.md, layout.md

Field Value
Robots noindex (page metadata)
Status 200; a guest is sent to login in the browser
loading.tsx (main)/account/notifications/loading.tsx
First flush none: the settings are read in the browser with the session
Canonical none
H1 bull: none, the top bar's title is a <span>; bear: DesktopPageTitle «تنظیمات اعلان‌ها»
JSON-LD none
Scripts none beyond the layout's

Sections

In bull's document order.

Section Data HTML JS Index Notes
MobileTopBar (bull) config first flush hydrate no back to /account when opened on its own
↳ Title or login link (bull) viewer skeleton hydrate no
DesktopPageTitle (bear) config first flush hydrate no «بازگشت» to /account and the H1
NotificationSettings viewer, query skeleton hydrate no AuthGuard, then <Suspense> and PartBoundary name="notification-settings"; useSuspenseQuery; bear: framed
↳ SettingsSection cards query skeleton hydrate no «اعلان در لومینا» and «پیامک» switches for the member's role; each switch saves as it flips, with a toast
↳ Offline banner — none hydrate no useOfflineFreeze freezes every switch and says why (0043)

Notes

  • Debt: bull has no H1 while bear has one. Give bull an sr-only H1 with the same text.