Go to file
Amiram_se 436695ae0b feat(market): registration step 5, profile completion
Creator (required, resumable) and investor (optional) profile steps, on the
session after registration step 4.

- Profile repository: `saveDraft` (PATCH /traders/me/profile, markets may be
  empty) and `complete` (POST /traders/me/profile/complete).
- Account repository: avatar upload and removal, `interests`; the account
  payload carries `avatarUrl` and `interests`.
- Actions: completeCreatorProfile (saves the form, then completes; emits
  `profile.complete`) and saveInvestorProfile (photo with progress, then
  markets; emits `auth.profile-saved`).
- Creator models: the page (form from the saved draft, links field array,
  submit), autosave (1 s after typing and on blur, one save at a time, never
  after completion), the photo part (uploads on pick, failed state with retry)
  and the live preview.
- Investor model: photo and markets saved on «ذخیره و ورود», «بعداً» skips;
  both land on ?redirect= or home with the welcome toast.
- The auth-flow store remembers the role registered in this tab, so step 5
  shows the resume banner only after a login or a reload.
- Validations: photo, bio, link rows per platform, markets, consent.
  Utils: social link handle and URL mapping, market toggle. PROFILE_LIMITS
  moves to shared/validations.
- Screens: CreatorProfileStep (mobile column with a preview sheet, desktop
  card beside a sticky preview, end-of-registration view) with its skeleton,
  and InvestorProfileStep.
- Copy for step 5 in the auth namespace; market and status labels in common.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 22:33:00 +04:00
.claude chore(skill): fixed-name fonts and an icon sprite versioned in its link 2026-10-05 19:01:39 +04:00
apps refactor(market,apps): share the registration frame with onboarding 2026-10-05 22:32:05 +04:00
docs/decisions docs(decisions): auth pages render in the browser 2026-10-05 20:06:42 +04:00
packages feat(island,tools): form pieces for the profile step 2026-10-05 22:32:43 +04:00
platforms/market feat(market): registration step 5, profile completion 2026-10-05 22:33:00 +04:00
tools/generators feat: scaffold 2026-10-02 18:19:11 +04:00
.gitignore feat(island,apps): serve fonts and icon sprite under fixed names 2026-10-05 19:00:46 +04:00
.ignore feat: scaffold 2026-10-02 18:19:11 +04:00
.oxlintrc.json chore(lint): check ARIA roles on DOM elements only 2026-10-05 22:32:43 +04:00
.prettierignore feat: scaffold 2026-10-02 18:19:11 +04:00
.prettierrc feat: scaffold 2026-10-02 18:19:11 +04:00
CLAUDE.md chore: nx init 2026-10-02 17:46:30 +04:00
README.md first commit 2026-10-02 17:41:59 +04:00
eslint.config.mjs feat: scaffold 2026-10-02 18:19:11 +04:00
nx.json feat: scaffold 2026-10-02 18:19:11 +04:00
package.json chore(deps): upgrade Next.js to 16.3 and add the front-end stack packages 2026-10-04 21:33:07 +04:00
pnpm-lock.yaml chore(deps): upgrade Next.js to 16.3 and add the front-end stack packages 2026-10-04 21:33:07 +04:00
pnpm-workspace.yaml feat: scaffold 2026-10-02 18:19:11 +04:00
tsconfig.base.json feat: scaffold 2026-10-02 18:19:11 +04:00
tsconfig.json feat: scaffold 2026-10-02 18:19:11 +04:00

README.md