Commit Graph

6 Commits

Author SHA1 Message Date
Amiram_se 0d2528d66f docs(decisions): propose 0014, registration step 5 on the session
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>
2026-10-05 22:33:00 +04:00
Amiram_se 7d381758ab docs(decisions): auth pages render in the browser
Record 0013: every (auth) page renders its steps only in the browser behind
GuestGuard, the server sends the frame, a same-size skeleton and noindex,
and the flow's state stays in memory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 20:06:42 +04:00
Amiram_se 60b62d98db docs(decisions): fixed-name fonts and sprite versioned in its link
- 0009 and 0010 versioned the file names; both are now superseded.
- 0011: fonts keep fixed names with no version; a changed font ships
  under a new name.
- 0012: the sprite stays symbol-defs.svg, linked with ?v=<N>, written by
  icon-sprite-plugin and font-copy-plugin.
- 0007 and 0008 are marked superseded, and the index lists 0011 and 0012.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 19:00:46 +04:00
Amiram_se bbf84069c9 feat(island,apps): island asset plugin writes hashed fonts and icon sprite
Add withIslandAssets (island tools/asset-plugin) per ADR 0008. On next dev
and next build it builds the svgo sprite from src/icons and copies the
Yekan Bakh fonts into the app's public/ under content-hashed names, puts
their paths in env (NEXT_PUBLIC_ISLAND_*) and serves them with an
immutable Cache-Control. Files are written in headers(), which only Next
calls, because Nx's next plugin also evaluates the config from the
workspace root.

- island env (setEnv/getEnv); Icon reads the sprite path from it
- icon-sprite-plugin becomes icon-name-extraction (IconName type only);
  the committed sprite.svg is removed
- bull and bear register the plugin, validate the paths, pass them to
  island through their bootstraps, and add an optional CDN origin for fonts
- gitignore the generated files; Nx build outputs include them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 11:58:56 +04:00
Amiram_se 9de000f3d2 chore: docs 2026-10-04 22:03:42 +04:00
Amiram_se 91f56425d9 feat: add new skill 2026-10-02 17:57:42 +04:00