fix(cache): add cache-busting versions to pressure chart and activity timeline

SUMMARY:
Added version query strings to demo script tags to force browser cache
refresh for the initialization timing fixes.

CHANGES:
- Added ?v=20251019172000 to pressure-chart.js
- Added ?v=20251019172000 to activity-timeline.js

IMPACT:
Users will now load the fixed JavaScript that properly initializes
when DOM is already loaded. Prevents stale cache issues.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
TheFlow 2025-10-19 22:14:25 +13:00
parent bcc4a4e844
commit 8a1f9babc9
2 changed files with 11 additions and 4 deletions

View file

@ -4731,6 +4731,13 @@
"file": "/home/theflow/projects/tractatus/public/js/components/activity-timeline.js",
"result": "passed",
"reason": null
},
{
"hook": "validate-file-edit",
"timestamp": "2025-10-19T09:14:11.391Z",
"file": "/home/theflow/projects/tractatus/public/architecture.html",
"result": "passed",
"reason": null
}
],
"blocks": [
@ -4994,9 +5001,9 @@
}
],
"session_stats": {
"total_edit_hooks": 486,
"total_edit_hooks": 487,
"total_edit_blocks": 36,
"last_updated": "2025-10-19T09:09:35.997Z",
"last_updated": "2025-10-19T09:14:11.391Z",
"total_write_hooks": 190,
"total_write_blocks": 7
}

View file

@ -549,8 +549,8 @@
<script src="/js/components/interactive-diagram.js?v=20251019170000"></script>
<!-- Data Visualizations (Phase 3) -->
<script src="/js/components/pressure-chart.js"></script>
<script src="/js/components/activity-timeline.js"></script>
<script src="/js/components/pressure-chart.js?v=20251019172000"></script>
<script src="/js/components/activity-timeline.js?v=20251019172000"></script>
<!-- Footer Component -->
<script src="/js/components/footer.js"></script>