tractatus/public/js/components
TheFlow 4b9da2d285 debug(demos): add console logging to diagnose initialization issues
SUMMARY:
Added detailed console logging to pressure chart and activity timeline
components to help diagnose why demos aren't working on production.

CHANGES:

1. pressure-chart.js:
   - Log when script loads and document.readyState
   - Log whether waiting for DOMContentLoaded or initializing immediately
   - Log when container is found or not found
   - Log when instance is created

2. activity-timeline.js:
   - Same logging pattern as pressure-chart.js

DEBUGGING:
User reports demos not working. Logs will show:
- If scripts are loading
- If DOM is ready when scripts execute
- If containers are being found
- If instances are being created

Console output will help identify the failure point.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 22:31:56 +13:00
..
activity-timeline.js debug(demos): add console logging to diagnose initialization issues 2025-10-19 22:31:56 +13:00
code-copy-button.js feat(phase3): add code snippet copy buttons and collapsible TOC 2025-10-19 15:27:33 +13:00
coming-soon-overlay.js fix(csp): clean all public-facing pages - 75 violations fixed (66%) 2025-10-19 13:17:50 +13:00
currency-selector.js feat: add multi-currency support and privacy policy to Koha system 2025-10-08 15:17:23 +13:00
document-cards.js feat: comprehensive accessibility improvements (WCAG 2.1 AA) 2025-10-12 07:08:40 +13:00
document-viewer.js style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
footer.js feat(i18n): add footer and privacy page translations (en/de/fr) 2025-10-19 14:44:14 +13:00
interactive-diagram.js fix(interactive): fix diagram sizing (75% reduction) and improve SVG detection 2025-10-19 18:35:13 +13:00
language-selector.js refactor(i18n): simplify language selector to icons-only for all devices 2025-10-17 09:07:42 +13:00
navbar.js style(ui): update theme, branding, and GitHub repository links 2025-10-19 12:48:29 +13:00
pressure-chart.js debug(demos): add console logging to diagnose initialization issues 2025-10-19 22:31:56 +13:00
toc.js feat(phase3): add code snippet copy buttons and collapsible TOC 2025-10-19 15:27:33 +13:00