Step 5 runs under (onboarding) behind AuthGuard; a creator's profile autosaves as a server draft and completes only through POST /traders/me/profile/complete. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 0001-one-platform-shared-by-mobile-and-desktop.md | ||
| 0002-island-layout-and-element-over-native-tags.md | ||
| 0003-semantic-tokens-only-in-theme.md | ||
| 0004-self-hosted-yekan-bakh.md | ||
| 0005-island-components-take-text-as-props.md | ||
| 0006-pnpm-workspaces-and-package-exports.md | ||
| 0007-yekan-bakh-from-public-or-cdn.md | ||
| 0008-island-asset-plugin.md | ||
| 0009-versioned-yekan-bakh-never-hashed.md | ||
| 0010-island-sprite-and-font-plugins.md | ||
| 0011-yekan-bakh-under-fixed-names.md | ||
| 0012-sprite-version-in-link.md | ||
| 0013-auth-pages-render-in-the-browser.md | ||
| 0014-registration-step-5-on-the-session.md | ||
| README.md | ||
README.md
Decisions
Design (DDR)
- 0002 Render every tag through island
Element, flex layouts throughFlexBox, grid layouts throughGridBox; never native JSX tags orflex/gridclasses, island included. - 0011 Serve Yekan Bakh FaNum (
font-sans, all UI text) and Yekan Bakh (font-latin, شبا and bank codes only) frompublic/fonts/under fixed names declared in islandfonts.css; no version, never hashed, nevernext/font; a changed font gets a new name.
Architecture (ADR)
- 0001 Share one platform,
platforms/market, betweenapps/bullandapps/bear; tag all threescope:market. - 0012 Wrap each app's
next.configin island'swithIconSpriteandwithFontCopy; they writesymbol-defs.svgand the fonts intopublic/unhashed, served immutable; link the sprite as?v=<ICON_SPRITE_VERSION>. - 0013 Render every
(auth)page's steps only in the browser behindGuestGuard: the server sends the frame, a same-size skeleton andnoindex; flow state stays in memory, never in the URL or storage.
Proposed
- 0003 design: Only semantic tokens, named as in the Lumina Design System, produce Tailwind utilities (
@theme inline); primitives stay plain:rootvariables and Tailwind's defaults are removed. - 0005 design: Island holds Lumina's product components and status-to-tone map; they take every text as props (
childrenorlabels) and never import i18next or platform code. - 0006 architecture: Make every non-app project a pnpm workspace package
@lumina/<name>with subpathexports; third-party dependencies stay in the root package.json. - 0014 architecture: Serve registration step 5 under
(onboarding)behindAuthGuard; a creator's profile autosaves as a server draft (PATCH) and completes only throughPOST …/profile/complete.