tractatus/public
TheFlow dd32dac99b fix(interactive): fix diagram sizing (75% reduction) and improve SVG detection
SUMMARY:
Fixed diagram to be 75% smaller in surface area (50% linear reduction) and
improved SVG detection logic to properly initialize click handlers.

CHANGES:

1. Diagram Sizing (architecture.html):
   - Changed from w-24/w-32/w-40 (90% reduction) to w-48/w-56/w-64 (75% reduction)
   - Mobile: w-48 = 192px (50% of 384px original)
   - Tablet: sm:w-56 = 224px (50% of 448px original)
   - Desktop: lg:w-64 = 256px (50% of 512px original)
   - Surface area now 25% of original (75% reduction as requested)

2. SVG Detection Logic (interactive-diagram.js):
   - Split null check from tagName validation
   - Added clearer console logging for debugging
   - tagName check now handles undefined gracefully
   - Should properly detect SVG and attach click handlers

PREVIOUS ISSUE:
- Diagram was w-24/w-32/w-40 (6.25% surface area = 93.75% reduction)
- SVG detection check was failing, preventing click handlers from attaching
- Combined null && tagName check was too strict

FIXES:
✓ Diagram is now 75% smaller by surface area (not 90%)
✓ SVG detection should properly initialize
✓ Click handlers should attach to service nodes

Cache-busting: v=20251019170000

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 18:35:13 +13:00
..
.well-known security: comprehensive security audit and hardening 2025-10-10 05:34:40 +13:00
about style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
admin style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
css fix(accessibility,ui): fix Lighthouse audit issues and broken features 2025-10-19 15:46:53 +13:00
demos style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
downloads docs: regenerate PDFs and update documentation metadata 2025-10-14 10:53:48 +13:00
fonts fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
images feat(interactive): add clickable central core and improve desktop layout 2025-10-19 16:37:27 +13:00
js fix(interactive): fix diagram sizing (75% reduction) and improve SVG detection 2025-10-19 18:35:13 +13:00
koha fix(a11y): improve text contrast on koha transparency page 2025-10-19 14:07:38 +13:00
locales fix(i18n): resolve footer translation keys showing on non-homepage pages 2025-10-19 14:49:17 +13:00
about.html feat(phase3): apply scroll animations site-wide to all key pages 2025-10-19 15:23:26 +13:00
api-reference.html style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
architecture.html fix(interactive): fix diagram sizing (75% reduction) and improve SVG detection 2025-10-19 18:35:13 +13:00
blog-post.html style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
blog.html style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
case-submission.html fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
check-version.html style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
docs-viewer.html feat(phase3): add code snippet copy buttons and collapsible TOC 2025-10-19 15:27:33 +13:00
docs.html perf(docs): fix CLS and improve accessibility across pages 2025-10-19 14:04:33 +13:00
faq.html style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
favicon-new.svg fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
favicon.ico feat: implement Rule Manager and Project Manager admin systems 2025-10-11 17:16:51 +13:00
favicon.svg feat: comprehensive documentation improvements and GitHub integration 2025-10-09 14:33:14 +13:00
implementer.html feat(phase3): apply scroll animations site-wide to all key pages 2025-10-19 15:23:26 +13:00
index.html fix(ui): restore visible icons in Framework Capabilities cards 2025-10-19 15:50:50 +13:00
koha.html style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
leader.html feat(phase3): apply scroll animations site-wide to all key pages 2025-10-19 15:23:26 +13:00
manifest.json style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
media-inquiry.html fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
media-triage-transparency.html style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
privacy.html fix(i18n): add cache-busting version strings to privacy page scripts 2025-10-19 14:56:25 +13:00
researcher.html feat(phase3): apply scroll animations site-wide to all key pages 2025-10-19 15:23:26 +13:00
service-worker.js style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
version.json style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00