37 lines
5.3 KiB
Markdown
37 lines
5.3 KiB
Markdown
# Register: details
|
|
|
|
`/auth/register/details` · `apps/{bull,bear}/src/app/(auth)/auth/register/details/page.tsx` · Type: login · Layout: [layout.md](layout.md)
|
|
|
|
| Field | Value |
|
|
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| Robots | `noindex` (page `metadata`) |
|
|
| Status | `200`; without a role, number, or registration token in the auth-flow store (a reload), the step sends the visitor to `/auth/register/phone` in the browser |
|
|
| loading.tsx | `apps/{bull,bear}/src/app/(auth)/auth/register/details/loading.tsx` |
|
|
| First flush | `none`; the rules text comes from server i18n, not a read |
|
|
| Canonical | none set |
|
|
| H1 | the investor details or creator identity heading; browser only |
|
|
| JSON-LD | `none` |
|
|
| Scripts | none beyond the layout's |
|
|
|
|
## Sections
|
|
|
|
In bull's document order.
|
|
|
|
| Section | Data | HTML | JS | Index | Notes |
|
|
| -------------------------- | ------ | ----------- | ------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| AuthTopBar (bull) | config | first flush | none | no | back button and `auth:register.header` |
|
|
| ↳ BackButton (bull) | URL | first flush | hydrate | no | `<a href="/">`, keeping `?redirect=` |
|
|
| AuthTemplate header (bear) | config | first flush | none | no | brand `<a href="/">` |
|
|
| StepBack (bear) | URL | first flush | hydrate | no | «بازگشت» above the card to `/` |
|
|
| SupportEntry | — | first flush | hydrate | no | in the bar; the dialog mounts only when open |
|
|
| NetworkBar | — | none | hydrate | no | under the bar, only while offline or reconnecting |
|
|
| RegisterDetailsStep | viewer | skeleton | hydrate | no | `GuestGuard` fallback `SkeletonPreset preset="form" count={3}`; investor: `InvestorDetailsForm`; creator: `CreatorIdentityForm`, both in `DetailsFrame` |
|
|
| ↳ ExpiryWarning | clock | none | hydrate | no | two minutes before the token ends; `Countdown kind="otp"` and «تمدید زمان» |
|
|
| ↳ ExpiryHalt | viewer | none | hydrate | no | when the token ends; bull: sheet; bear: modal |
|
|
| ↳ LeaveRegistrationDialog | — | none | hydrate | no | back asks whether to leave and resume later (J02-3f) |
|
|
| ↳ AgreementBlock (creator) | query | none | hydrate | no | the first block for an analyst: `GET /legal/analyst_agreement`, «خواندن متن» opens `LegalDocumentDialog`, the checkbox unfreezes «ثبت و ادامه», and the version goes with the form |
|
|
|
|
## Notes
|
|
|
|
- Decision 0013: the step renders only in the browser on the 15-minute token, held in memory.
|