- Add comprehensive health check system with multiple endpoints - Add Prometheus metrics endpoint - Add production logging configurations (5 strategies) - Add complete deployment documentation suite: * QUICKSTART.md - 30-minute deployment guide * DEPLOYMENT_CHECKLIST.md - Printable verification checklist * DEPLOYMENT_WORKFLOW.md - Complete deployment lifecycle * PRODUCTION_DEPLOYMENT.md - Comprehensive technical reference * production-logging.md - Logging configuration guide * ANSIBLE_DEPLOYMENT.md - Infrastructure as Code automation * README.md - Navigation hub * DEPLOYMENT_SUMMARY.md - Executive summary - Add deployment scripts and automation - Add DEPLOYMENT_PLAN.md - Concrete plan for immediate deployment - Update README with production-ready features All production infrastructure is now complete and ready for deployment.
48 lines
1.6 KiB
HTML
48 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>LiveComponent Polling Test</title>
|
|
<script type="module">
|
|
// Simulate the LiveComponent initialization
|
|
console.log('[TEST] Starting LiveComponent polling test');
|
|
|
|
// Wait for page load
|
|
window.addEventListener('DOMContentLoaded', () => {
|
|
console.log('[TEST] DOM Content Loaded');
|
|
|
|
// Check if LiveComponent attributes exist
|
|
const components = document.querySelectorAll('[data-live-component]');
|
|
console.log(`[TEST] Found ${components.length} components`);
|
|
|
|
components.forEach((component, index) => {
|
|
const id = component.dataset.liveComponent;
|
|
const pollInterval = component.dataset.pollInterval;
|
|
|
|
console.log(`[TEST] Component ${index + 1}:`, {
|
|
id,
|
|
pollInterval,
|
|
hasPollInterval: !!pollInterval
|
|
});
|
|
|
|
// Check if the inner element has the poll interval
|
|
const innerElement = component.querySelector('[data-poll-interval]');
|
|
if (innerElement) {
|
|
console.log(`[TEST] Found inner element with poll interval:`, innerElement.dataset.pollInterval);
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1>LiveComponent Polling Test</h1>
|
|
|
|
<div data-live-component="test:test-123" data-poll-interval="5000">
|
|
<div>Direct poll interval on component</div>
|
|
</div>
|
|
|
|
<div data-live-component="test2:test-456">
|
|
<div data-poll-interval="3000">Nested poll interval</div>
|
|
</div>
|
|
</body>
|
|
</html>
|