tractatus/public/js
TheFlow f0ebd1a2b0 feat(ui): reduce diagram size 75% and add permanent side-by-side panel
SUMMARY:
Reduced interactive diagram size by 75% (to 25% of original) and
implemented permanent service detail panel that displays side-by-side
with the diagram on all viewports.

CHANGES:

1. Diagram Size Reduction (architecture.html):
   - Mobile: 384px → 96px (max-w-[96px])
   - Tablet: 448px → 128px (sm:max-w-[128px])
   - Desktop: 512px → 160px (lg:max-w-[160px])
   - Removed max-height constraint
   - Removed mobile/desktop conditional widths

2. Permanent Service Panel (architecture.html):
   - Added permanent #service-detail-panel div
   - Default state: Info icon with instructions
   - Always visible (flex-1 layout)
   - Min height: 300px for consistent sizing
   - Background: gray-50 with shadow-inner

3. JavaScript Updates (interactive-diagram.js):
   - Removed dynamic panel creation/removal logic
   - Removed close button functionality
   - Removed closePanel() method entirely
   - Removed fade-in/fade-out animations
   - Panel now updates in-place when service clicked
   - Border color changes to match selected service

4. Layout Improvements (architecture.html):
   - Changed to gap-6 (applies to all viewports)
   - Diagram and panel always side-by-side on desktop
   - Stacked vertically on mobile (flex-col lg:flex-row)
   - Removed mb-6 lg:mb-0 (gap handles spacing)

RESPONSIVE BEHAVIOR:
- Mobile (<1024px): Stacked vertically, diagram 96px, panel below
- Desktop (≥1024px): Side-by-side, diagram 160px, panel fills remaining space

UX IMPROVEMENTS:
✓ Diagram much smaller, less dominant
✓ Service details always visible on canvas
✓ No modal/popup behavior - permanent panel
✓ Default state guides user to click nodes
✓ Cleaner, more professional layout

CACHE-BUSTING:
Updated interactive-diagram.js version to v=20251019164500

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 18:25:47 +13:00
..
admin feat(admin): add publish/unpublish workflow UI to dashboard 2025-10-19 13:42:47 +13:00
components feat(ui): reduce diagram size 75% and add permanent side-by-side panel 2025-10-19 18:25:47 +13:00
demos feat: comprehensive accessibility improvements (WCAG 2.1 AA) 2025-10-12 07:08:40 +13:00
utils feat: add multi-currency support and privacy policy to Koha system 2025-10-08 15:17:23 +13:00
blog-post.js feat: newsletter modal and deployment script enhancements 2025-10-14 13:11:46 +13:00
blog.js feat: newsletter modal and deployment script enhancements 2025-10-14 13:11:46 +13:00
case-submission.js fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
check-version.js fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
docs-app.js fix(mobile): implement navigation toggle for document viewer 2025-10-19 12:41:48 +13:00
docs-search-enhanced.js feat: enhance FAQ for Leader audience and improve navigation 2025-10-14 10:53:47 +13:00
docs-viewer-app.js feat: fix CSP violations & implement three audience paths 2025-10-07 12:21:00 +13:00
faq.js refactor: rewrite Copilot Q&A in measured, evidence-based tone 2025-10-14 14:19:46 +13:00
i18n-simple.js feat(i18n): enhance browser language detection with clear priority logging 2025-10-19 15:01:14 +13:00
koha-donation.js feat(koha): implement Stripe Customer Portal integration 2025-10-18 22:19:08 +13:00
koha-success.js fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
koha-transparency.js feat: complete Priority 2 - Enhanced Koha Transparency Dashboard 2025-10-11 17:14:34 +13:00
leader-page.js feat: add case submission portal admin interface and i18n support 2025-10-16 14:50:47 +13:00
media-inquiry.js fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
media-triage-transparency.js feat: comprehensive accessibility improvements (WCAG 2.1 AA) 2025-10-12 07:08:40 +13:00
researcher-page.js feat: add case submission portal admin interface and i18n support 2025-10-16 14:50:47 +13:00
scroll-animations.js feat(phase3): implement scroll animations with Intersection Observer 2025-10-19 15:09:59 +13:00
version-manager.js fix: PWA install button UX improvements and CSP compliance 2025-10-15 08:39:47 +13:00