checkpoint: pre-split branch cleanup

This commit is contained in:
ZenchantLive 2026-03-03 16:43:42 -08:00
parent 4c2ae2e5b7
commit b5db7a7753
276 changed files with 35912 additions and 60119 deletions

View file

@ -1,31 +1,31 @@
import { chromium } from 'playwright';
import path from 'node:path';
const url = process.argv[2];
const mode = process.argv[3];
if (!url || !mode) {
console.error('Usage: node scripts/capture-kanban.mjs <url> <before|after>');
process.exit(1);
}
const shots = [
{ name: 'mobile', width: 390, height: 844 },
{ name: 'tablet', width: 768, height: 1024 },
{ name: 'desktop', width: 1440, height: 900 },
];
const browser = await chromium.launch({ headless: true });
for (const shot of shots) {
const page = await browser.newPage({ viewport: { width: shot.width, height: shot.height } });
await page.goto(url, { waitUntil: 'domcontentloaded' });
await page.waitForTimeout(700);
await page.screenshot({
path: path.join('artifacts', `kanban-${shot.name}-${mode}.png`),
fullPage: true,
});
await page.close();
}
await browser.close();
import { chromium } from 'playwright';
import path from 'node:path';
const url = process.argv[2];
const mode = process.argv[3];
if (!url || !mode) {
console.error('Usage: node scripts/capture-kanban.mjs <url> <before|after>');
process.exit(1);
}
const shots = [
{ name: 'mobile', width: 390, height: 844 },
{ name: 'tablet', width: 768, height: 1024 },
{ name: 'desktop', width: 1440, height: 900 },
];
const browser = await chromium.launch({ headless: true });
for (const shot of shots) {
const page = await browser.newPage({ viewport: { width: shot.width, height: shot.height } });
await page.goto(url, { waitUntil: 'domcontentloaded' });
await page.waitForTimeout(700);
await page.screenshot({
path: path.join('artifacts', `kanban-${shot.name}-${mode}.png`),
fullPage: true,
});
await page.close();
}
await browser.close();