feat(project): auto-fit goal column widths

This commit is contained in:
2026-10-03 06:55:00 +09:00
parent e726f986db
commit b32f2ac3a3
12 changed files with 307 additions and 17 deletions
+12
View File
@@ -25,3 +25,15 @@ node tests/js/goals_meeting_ui.test.js # jsdom 필요(npm install jsdom
```
실제 브라우저 레이아웃·입력기·터치 기기는 아니다(그건 헤드리스 크롬으로 따로 확인).
목표 열 자동 맞춤은 실제 Chromium에서도 검증한다. 로컬 테스트 HTML·프로젝트 CSS/폰트를 사용하며 운영 서버·DB에 연결하지 않는다.
부분 서식과 셀 여백, 명시적 줄바꿈, 75% 배율, 600px를 넘는 긴 문단, 저장된 너비 복원을 확인한다.
```powershell
python tests/js/render_goals.py
# playwright 설치 또는 NODE_PATH로 기존 설치 지정
$env:PJ_TEST_BROWSER = 'C:/Program Files/Google/Chrome/Application/chrome.exe'
node tests/js/goals_autofit.browser.test.js
```
`PJ_TEST_BROWSER`를 생략하면 Playwright에 설치된 기본 Chromium을 사용한다.