wealth/docs/pages/market/feed.md

4.0 KiB

خانه (home feed)

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

Field Value
Robots noindex (page metadata)
Status 200; a guest is sent to login and a creator to their channel, in the browser
loading.tsx (main)/feed/loading.tsx: the frame and three post skeletons
First flush none: the page entry reads nothing; the feed is read in the browser with the session
Canonical none
H1 none in either app: bull's tab bar has no title, bear's column has no heading
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 the tab bar (isTab): brand and support
↳ Bell, account avatar or login link (bull) viewer skeleton hydrate no an invisible «ورود/ثبت‌نام» holds the place until the viewer is known
HomeGuard viewer skeleton hydrate no HomeFeedSkeleton until the viewer is known; a creator is replaced to homeRoute, a guest goes to login via AuthGuard role="investor"
HomeFeed query skeleton hydrate no useSuspenseInfiniteQuery(feedKeys.home()) inside <Suspense> and PartBoundary name="home-feed"; bear: framed
↳ FeaturedRow query skeleton hydrate no useFeaturedCreatorsPart, prefetched beside the feed; links to /analysts
↳ ChannelPostCard list query skeleton hydrate no each card links its post and channel; «بیشتر» loads the next page on click
↳ HomeFeedEmpty, FeaturedMore query skeleton hydrate no the featured analysts to follow while the viewer follows nobody
↳ PostLightbox — none interaction no next/dynamic, rendered on the first image tap
InstallPrompt (bull) viewer none hydrate no the install sheet once for a signed-in investor, 30-day snooze (0047)

Notes

  • bear: @modal/feed/page.tsx renders null, so a «پست جدید» dialog closes when a navigation lands on خانه (0023).
  • Debt: no H1 in either app. Give the page an sr-only H1, as LegalDocumentView does.