Standardize browser QA at 1920x1080

This commit is contained in:
2026-07-17 22:18:30 +09:00
parent eb41c05f60
commit 8f10d3d67b
29 changed files with 224 additions and 51 deletions

View File

@@ -1,5 +1,6 @@
import { readFileSync, writeFileSync } from 'node:fs';
import { createServer } from 'vite';
import { desktopBrowserViewportLabel } from './desktop-browser-viewport.mjs';
const bootScenePath = 'src/game/scenes/BootScene.ts';
const campScenePath = 'src/game/scenes/CampScene.ts';
@@ -428,6 +429,7 @@ function renderReport({ iconSourceSize, iconTextureSize, itemRows, groupedRows,
`- Runtime item icon scene: \`${sceneUsage.scene}\``,
`- Observed runtime display sizes: ${sceneUsage.displaySizes.map((size) => `\`${size}px\``).join(', ') || 'none found'}`,
`- Direct item texture render sites found: ${sceneUsage.directItemImageCount}`,
`- Browser visual QA baseline: \`${desktopBrowserViewportLabel}\` CSS viewport at 100% zoom`,
'',
'## Main Findings',
'',
@@ -499,7 +501,7 @@ function renderRecommendedNextBatch(recommendations) {
`- Item ids: ${formatItemIds(recommendations.firstTargetIds)}`,
`- Success criteria: ${recommendations.firstTargetSuccessCriteria}`,
'- Keep the existing 64px texture size unless a UI-wide equipment icon pass is planned.',
'- Add before/after contact sheets and verify the sortie equipment list and equipment swap panel in a desktop browser.',
`- Add before/after contact sheets and verify the sortie equipment list and equipment swap panel in a desktop browser at the ${desktopBrowserViewportLabel} CSS viewport and 100% zoom.`,
''
];
}