3.4 KiB
3.4 KiB
اعلانها (notification centre)
/notifications · apps/{bull,bear}/src/app/(main)/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)/notifications/loading.tsx: the bar or title, then list rows |
| First flush | none: the page entry reads nothing; the inbox is 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 | a pushed page's bar: back and support |
| ↳ Title or login link (bull) | viewer | skeleton | hydrate | no | |
| DesktopPageTitle (bear) | config | first flush | hydrate | no | «بازگشت» and the H1 |
| NotificationCentre | viewer, query | skeleton | hydrate | no | AuthGuard, then <Suspense> and PartBoundary name="notification-centre"; useSuspenseQuery of the inbox; opening clears the bell (0058); bear: framed |
| ↳ FilterChips | viewer | skeleton | hydrate | no | creators only: «همه · سیگنالها · مالی · حساب», filtered in place (0058) |
| ↳ NotificationItem list | query | skeleton | hydrate | no | each row leads to its target; a row stays unread until tapped |
Notes
- bear's header bell opens the same centre as a side panel; this page serves a direct load or a link.
- Debt: bull has no H1 while bear has one. Give bull an
sr-onlyH1 with the same text.