You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: bump version to 1.5.0 and update CLAUDE.md architecture docs
Update architecture section to reflect new component structure with
CSS modules. Bump version from 1.4.0 to 1.5.0.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,13 @@ This is a single-page React app (React 18, Vite 6) that visualizes a MECE risk f
20
20
21
21
### Core Structure
22
22
23
-
-**`src/RiskRadar.jsx`** — All React components (~258 lines):
24
-
-**Risk model**: 5 dimensions (codeType, language, deployment, data, blastRadius), each scored 0–4. The tier is determined by `Math.max()` across all dimensions, mapped to 4 tiers.
25
-
-**Components** (not exported, all in the same file): `RadarChart` (SVG polygon radar), `MitigationCard` (expandable tier cards), `DocSidebar` (slide-out documentation panel using asciidoctor.js), and the default export `RiskRadar`.
26
-
-**Styling**: All inline styles, no CSS modules or styled-components. Dark theme with slate color palette. Colors defined via `TIER_BG` and `TYPE_COLORS` constants.
-**`src/components/DocSidebar.jsx`** + `.module.css` — Slide-out documentation panel using asciidoctor.js.
29
+
-**Styling**: CSS Modules for static layout/typography, inline styles only for dynamic/JS-dependent values (tier colors, active states). Theme via CSS custom properties in `src/theme.js`.
27
30
28
31
-**`src/i18n.js`** — Full DE/EN translations (~353 lines): dimension definitions, preset scenarios, mitigation measures, and documentation content with AsciiDoc markup and hyperlinked references.
0 commit comments