Skip to content

DiffXray v2.0.0 — Warm Archival Editorial Design System

Choose a tag to compare

@unbridled-41 unbridled-41 released this 18 Nov 06:29
· 9 commits to main since this release
a5a5912

Summary

Closes #22

Upgrades DiffXray (v2.0.0) with an Anthropic / Claude-inspired Warm Archival Editorial Design System across the Showcase Website (site/index.html), Standalone Interactive HTML Studio (src/renderers/html-studio.mjs), Adaptive SVG Summary Cards (src/renderers/svg-card.mjs), and README media assets (docs/media/*.svg).

What Changed

1. Showcase Website Redesign (site/index.html)

  • Warm Archival Palette & Typography: Default warm cream paper (#FAF9F5) with elevated stone surfaces (#F3F0E8), charcoal ink (#141413), burnt terracotta primary accents (#D97757), muted sage (#4E7A55), and slate-blue (#4A729E), paired with Newsreader editorial serif headings, Inter body UI, and JetBrains Mono code blocks — plus a synchronized warm espresso dark mode (#191816).
  • Editorial Story Architecture:
    • Sticky Frosted Topbar: Brand mark, anchor navigation (Workbench, Architecture, 12 Rules, Ecosystem), instant EN / 中文 bilingual toggle, Paper / Dusk theme switcher, and GitHub Star pill.
    • Hero & 5-Tab Zero-Friction Install Switcher: npx CLI, Agent Skill, MCP Server, GitHub Action, and Git Pre-Push Hook with 1-click copy.
    • Live Interactive Workbench Frame: Preset scenario pills (AI Auth Refactor — Grade D, Silent Payment Regression — Grade F, Clean Cache Extraction — Grade A), GitHub PR live fetch (owner/repo#PR + CORS fallback), Paste Unified Diff drawer, Expand Workbench fullscreen mode, and seamless postMessage Paper/Dusk theme synchronization with the inner Studio iframe.
    • 3-Card Research Bento: Visual diagrams explaining Cross-File Shingle Move Collapse, Untouched Caller Blast Radius, and 100% Deterministic Zero-LLM Privacy.
    • Interactive 12-Rule Silent Hazard Catalog: Filterable by severity (All, Critical, High, Medium).
    • Ecosystem Matrix & Comparison Table: Side-by-side comparison vs. raw git diff / GitHub PR UI and SaaS AI PR bots.

2. Interactive HTML Studio & Vector Cards (src/renderers/html-studio.mjs, src/renderers/svg-card.mjs, docs/media/*.svg)

  • Unified warm cream default light mode (#FAF9F5) + espresso dark mode (#191816) across standalone HTML exports and .dxr-svg-root adaptive vector cards.
  • Newsreader serif report headers & trust score typography, hairline warm borders, pill zoom bar on the Blast-Radius SVG graph, locked Split-Diff side-by-side row alignment, and window.addEventListener("message") parent-iframe theme sync.
  • Refined src/analyzers/risk-radar.mjs to skip static .svg vector illustrations during source-code hazard scanning.

Verification & Self-Dogfooding

  • npm run build:site → Built static GitHub Pages bundle cleanly (dist-site/).
  • npm run check → OK: Verified 33 ESM modules (0 runtime dependencies, isomorphic boundary intact).
  • npm test → 21/21 passing (0 failures).
  • node ./bin/diffxray.mjs --staged --no-color → Trust Score: 94/100 (Grade A) — Clean Signal — No silent hazards detected.