Initial commit

This commit is contained in:
2026-04-28 10:29:02 +02:00
parent e8636b08be
commit f22a25ce46
26 changed files with 3951 additions and 1 deletions

26
check-ui.js Normal file
View File

@@ -0,0 +1,26 @@
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
page.on('pageerror', err => console.log('Runtime Error:', err.message));
page.on('console', msg => console.log('Console:', msg.text()));
await page.goto('http://localhost:3001');
await page.waitForTimeout(2000);
// Evaluate if Gantt DOM structural integrity exists
const ganttMetrics = await page.evaluate(() => {
const blocks = document.querySelectorAll('.gantt-block');
const rows = document.querySelectorAll('.gantt-row');
return {
blockCount: blocks.length,
rowCount: rows.length,
blocksWidth: Array.from(blocks).slice(0,5).map(b => b.style.width),
blocksLeft: Array.from(blocks).slice(0,5).map(b => b.style.left)
};
});
console.log("Metrics:", JSON.stringify(ganttMetrics, null, 2));
await browser.close();
})();